?
What is the output of the given code?
What is the output of the given code?
for num in 1..3
puts num*num
m= 0
loop do
m += 1
puts m
break if m == 3
end
end
for num in 1..3
puts num*num
m= 0
loop do
m += 1
puts m
break if m == 3
end
end
Join the Discussion
Login to post a comment or share your explanation.
Login