Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CLS
- PRINT "Enter -1 if you're done. "
- INPUT "Enter a limit number: ", Limit
- DO UNTIL Limit = -1
- FOR Count = 1 TO Limit
- SUM = SUM + COUNT
- PRINT Sum: SLEEP 2
- NEXT Count
- PRINT "Remember, entering 'Finished' will end the program."
- INPUT "Enter the next limit number: " , Limit
- LOOP
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement