Fhernd

spaghetti-ejemplo.sh

Apr 13th, 2017
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. 10 i = 0
  2. 20 i = i + 1
  3. 30 PRINT i; " squared = "; i * i
  4. 40 IF i >= 10 THEN GOTO 60
  5. 50 GOTO 20
  6. 60 PRINT "Program Completed."
  7. 70 END
Add Comment
Please, Sign In to add comment