Vidyalelo
Ruby Programming · Q3

Operators in Ruby

Programming · Ruby Programming · question 3

Q3

What is the result of the expression: 5 % 2 in Ruby?

A.
2
Answer
B.
2.5
C.
5.2
D.
1

Answer: Option A

Solution

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