Q. What is the output of the given code?
counter = 100
while counter > 0
puts counter
counter-=25
end
counter = 100
while counter > 0
puts counter
counter-=25
end
β
Correct Answer: (A)
100 75 50 25