CSEC Information Technology · May/June 2017 · Paper 1 · Question Q60
A computer programmer is coding an algorithm which calculates the class average for a given exam. He creates a variable called class_avg. Which data type should he specify when declaring this variable?
- (A)Integer
- (B)Real
- (C)Boolean
- (D)Character
The answer is shown once you've answered.
Practise this question