Beginner Ruby
Q16 / 100

What is the result of "3 ** 2" in Ruby?

Correct! Well done.

Incorrect.

The correct answer is B) 9

B

Correct Answer

9

Explanation

The "**" operator performs exponentiation, so 3 ** 2 equals 9 (3 squared).

Progress
16/100