Computer Science for IGCSE & O level - Programming (Section 6 - No. 28)

Which data type would best represent the weight of a person?
INTEGER
REAL
BOOLEAN
STRING

Explanation

Weight can involve decimals, therefore REAL is the better fit.

Comments (0)

Advertisement