Computer Science, asked by pattanayak8014, 7 months ago

Construct a logical expression to represent each of the following conditions: [3]
i. Num is between 0 and 5 but not equal to 2.
ii. Age is greater than or equal to 18 and gender is male.
iii. City is either ‘Kolkata’ or ‘Mumbai’.

Answers

Answered by sibibis5161
0

Answer:

(num>=0&&num<=5&&num!=2)

(age>=18&& gender==male)

(City==Kolkata||City== Mumbai)

Similar questions