?
What is the output of the following code snippet?
What is the output of the following code snippet?
x = 5
while x > 0
puts x
x -= 1
end
x = 5
while x > 0
puts x
x -= 1
end
Join the Discussion
Login to post a comment or share your explanation.
Login