Computer Science for IGCSE & O level - Programming (Section 4 - No. 16)

Which data type would be most appropriate for storing the number of students in a class?
STRING
REAL
BOOLEAN
INTEGER

Explanation

The number of students is a whole number, therefore INTEGER is most suitable.

Comments (0)

Advertisement