Computer Science for IGCSE & O level - Programming (Section 3 - No. 46)

Which data type is the most suitable for storing someone's age?
STRING
REAL
BOOLEAN
INTEGER

Explanation

Age is typically a whole number, making INTEGER the correct data type.

Comments (0)

Advertisement