IDENTIFICATION DIVISION.
PROGRAM-ID. IDEONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 a Pic zz9.
77 b Pic zz9.
77 n PIC Z9 .
PROCEDURE DIVISION.
subtract 25 From 50 giving a.
divide 625 by 25 giving b.
display "Subtract 25 From 50 Equals: ",a.
display "Divide 625 By 25 Equals: ",b.
ACCEPT n
PERFORM UNTIL n = 42
DISPLAY n
ACCEPT n
END-PERFORM.
STOP RUN.
CUlERU5USUZJQ0FUSU9OIERJVklTSU9OLgoJUFJPR1JBTS1JRC4gSURFT05FLgoJRU5WSVJPTk1FTlQgRElWSVNJT04uCglEQVRBIERJVklTSU9OLgoJV09SS0lORy1TVE9SQUdFIFNFQ1RJT04uCgk3NyBhIFBpYyB6ejkuCgk3NyBiIFBpYyB6ejkuCgk3NyBuIFBJQyBaOSAuCglQUk9DRURVUkUgRElWSVNJT04uCglzdWJ0cmFjdCAyNSBGcm9tIDUwIGdpdmluZyBhLgoJZGl2aWRlIDYyNSBieSAyNSBnaXZpbmcgYi4KCWRpc3BsYXkgIlN1YnRyYWN0IDI1IEZyb20gNTAgRXF1YWxzOiAiLGEuCglkaXNwbGF5ICJEaXZpZGUgNjI1IEJ5IDI1IEVxdWFsczogIixiLgoJQUNDRVBUIG4KCQlQRVJGT1JNIFVOVElMIG4gPSA0MgoJCQlESVNQTEFZIG4KCQkJQUNDRVBUIG4KCQlFTkQtUEVSRk9STS4KCQlTVE9QIFJVTi4K