CBSE Class 11 Computer Science Question 89 of 173

Data Handling — Question 18

Back to all questions
18
Question

Question 18

Differentiate between (555/222)**2 and (555.0/222)**2.

Answer

In the first expression, 555 is of int type whereas in the second expression 555.0 is of float type.

Answer