IDENTIFICATION DIVISION.
PROGRAM-ID. IDEONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 a Pic zz9.
77 b pic zzz9.
77 n PIC Z9 .
PROCEDURE DIVISION.
Subtract 45 From 90 giving a.
Divide 2025 by 45 giving b.
Display "90 Minus 45 Equals. ",a.
Display "2025 Divided By 45 Equals. ",b.
ACCEPT n
PERFORM UNTIL n = 42
DISPLAY n
ACCEPT n
END-PERFORM.
STOP RUN.
CUlERU5USUZJQ0FUSU9OIERJVklTSU9OLgoJUFJPR1JBTS1JRC4gSURFT05FLgoJRU5WSVJPTk1FTlQgRElWSVNJT04uCglEQVRBIERJVklTSU9OLgoJV09SS0lORy1TVE9SQUdFIFNFQ1RJT04uCgk3NyBhIFBpYyB6ejkuCgk3NyBiIHBpYyB6eno5LgoJNzcgbiBQSUMgWjkgLgoJUFJPQ0VEVVJFIERJVklTSU9OLgoJU3VidHJhY3QgNDUgRnJvbSA5MCBnaXZpbmcgYS4KCURpdmlkZSAyMDI1IGJ5IDQ1IGdpdmluZyBiLgoJRGlzcGxheSAiOTAgTWludXMgNDUgRXF1YWxzLiAiLGEuCglEaXNwbGF5ICIyMDI1IERpdmlkZWQgQnkgNDUgRXF1YWxzLiAiLGIuCglBQ0NFUFQgbgoJCVBFUkZPUk0gVU5USUwgbiA9IDQyCgkJCURJU1BMQVkgbgoJCQlBQ0NFUFQgbgoJCUVORC1QRVJGT1JNLgoJCVNUT1AgUlVOLgo=