?
What is the output of the given code?
What is the output of the given code?
i = 0
while i < 5
puts i
i=(i+1)**2
end
i = 0
while i < 5
puts i
i=(i+1)**2
end
Join the Discussion
Login to post a comment or share your explanation.
Login