Advertisement
smeacham

Unstructured Programming Example

Aug 30th, 2012
2,932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement