fork download
  1. identification division.
  2. program-id. prog.
  3. environment division.
  4. data division.
  5. working-storage section.
  6. 77 n pic Z9.
  7. 77 i pic Z9.
  8. 77 r pic Z9.
  9. procedure division.
  10. display 'Hello, World!'
  11. accept n
  12. move 0 to i
  13. PERFORM until 30 less than i
  14. compute r = 2**n
  15. display r
  16. ACCEPT n
  17. end-perform.
  18. stop run.
  19.  
Runtime error #stdin #stdout 0.01s 3996KB
stdin
30
stdout
Standard output is empty