Vidyalelo
Ruby Programming · Q10

Operators in Ruby

Programming · Ruby Programming · question 10

Q10

What is the result of the expression: 3 ** 2 in Ruby?

A.
6
B.
9
Answer
C.
3
D.
2

Answer: Option B

Solution

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