A
Q. What is the output of the given code?
i = 0
while i < 5
puts i
i=(i+1)**2
end
- Correct Answer - Option(B)
- Views: 19
- Filed under category Ruby
- Hashtags:
Discusssion
Login to discuss.