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

Which of the following are valid examples of a 'Float' data type?
3.14
10
"Hello"
0.0

Explanation

Floats are numbers with a decimal point. 'Hello' is a string and 10 is an integer.

Comments (0)

Advertisement