Vidyalelo
Ruby Programming · Q101

Basic Syntax in Ruby

Programming · Ruby Programming · question 101

Q101

Which of the following are valid floating point literal?

A.
.5
B.
2
C.
0.5
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board