less than three would be the same as adding together P(x = 0) + P(x = 1) + P(x = 2). doing that using a binomial calculator i find
0.0138 + 0.0712 + 0.1678 = 0.2528
meaning that the probability that less than 3 of the apples are rotten is about 0.2528