Let the number of apple trees be 'x'.
Number of trees in the orchard = 240
Number of apple trees = % of x
According to the given condition,
% of 240 = x
⇒ () × 240 = x
⇒ = x
⇒ x = 40
Number of other types of trees = Total number of trees - number of apple trees = 240 - 40 = 200 trees