14. Looping with 'While'


#1

i = 50
while i > 0 do
print i
i -= 1
end
keeps on printing that any one to help.. Oops, try again. It looks like you didn't print out the numbers 1 to 50, inclusive.


#2

Looks like it should be in ascending order.


#3

really dont get what you mean by that


#4

1 up to 50, not 50 down to 1.


#5

ok cool thanks got it


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.