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

What type of data is represented by the variable `TotalWeight` in the given example?
String
Boolean
Integer
Character

Explanation

Based on the context, `TotalWeight` would likely store a numerical value, implying an integer type.

Comments (0)

Advertisement