Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %Prints a table of squares up to a inputted number
- %VARIABLES
- var howMany : int
- %Main Loop
- loop
- put "Highest number to square: " ..
- get howMany
- %Print table
- put "Number Square"
- for i : 1 .. howMany
- put i, " ", i * i
- delay (20)
- end for
- %more housekeeping
- delay (500)
- put " "
- put "-------------------------"
- put " "
- end loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement