Guest User

Untitled

a guest
Apr 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. // This is a comment. It continues to the end of the line.
  2. let
  3. var n: Integer;
  4. var c: Character
  5. in
  6. begin
  7. n := 2;
  8. repeat
  9. if (n > 2) then
  10. n := 3
  11. elsif (n > 3) then
  12. n := 4
  13. elsif (n > 4) then
  14. n := (n == 4)?2:3
  15. until (n > 4);
  16. if (n > 2) then
  17. n := 2;
  18. if (n > 4) then
  19. n := 6
  20. else
  21. c := '\n'
  22. end
Add Comment
Please, Sign In to add comment