A
Q. What will be the output of the given code?
Code:
i=1
for i in 6..10
puts i**2
end
for i in 6..10
puts i**2
end
- Correct Answer - Option(D)
- Views: 12
- Filed under category Ruby
- Hashtags:
Discusssion
Login to discuss.