A
Q. What will be the output of the given code?
Code:
for num in 1...4
puts num*num
end
puts num*num
end
- Correct Answer - Option(B)
- Views: 9
- Filed under category Ruby
- Hashtags:
Discusssion
Login to discuss.