CBSE Class 11 Computer Science Question 106 of 173

Data Handling — Question 35

Back to all questions
35
Question

Question 35

MidAir Airlines will only allow carry-on bags that are no more than 22 inches long, 14 inches wide, and 9 inches deep. Assuming that variables named length, width, and depth have already been assigned values, write an expression combining the three that evaluates to True if bag fits within those limits, and False otherwise.

Answer

length <= 22 and width <= 14 and depth <= 9

Answer