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

What does the code "DECLARE SecondNum : REAL" indicate?
The variable SecondNum can store only integer values.
The variable SecondNum is declared as a real number.
The value of SecondNum will be automatically calculated.
SecondNum is a constant.

Explanation

It declares the variable SecondNum of the REAL data type, meaning it can store decimal (floating-point) numbers.

Comments (0)

Advertisement