IDENTIFICATION DIVISION.
PROGRAM-ID. IDEONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 a Pic x(46) value "The Cobol Subtract And Divide Progrsm.".
77 b Pic zz9.
77 c Pic zz9.
77 n PIC Z9 .
PROCEDURE DIVISION.
Display a.
Subtract 25 From 50 giving b.
Divide 625 by 25 giving c.
Display "Subtract 25 From 50 Equals: ",b.
Display "Divide 625 By 25 Equals: ",c.ACCEPT n
PERFORM UNTIL n = 42
DISPLAY n
ACCEPT n
END-PERFORM.
STOP RUN.
CUlERU5USUZJQ0FUSU9OIERJVklTSU9OLgoJUFJPR1JBTS1JRC4gSURFT05FLgoJRU5WSVJPTk1FTlQgRElWSVNJT04uCglEQVRBIERJVklTSU9OLgoJV09SS0lORy1TVE9SQUdFIFNFQ1RJT04uCgkwMSBhIFBpYyB4KDQ2KSB2YWx1ZSAiVGhlIENvYm9sIFN1YnRyYWN0IEFuZCBEaXZpZGUgUHJvZ3JzbS4iLgoJNzcgYiBQaWMgeno5LgoJNzcgYyBQaWMgeno5LgoJNzcgbiBQSUMgWjkgLgoJUFJPQ0VEVVJFIERJVklTSU9OLgoJRGlzcGxheSBhLgoJU3VidHJhY3QgMjUgRnJvbSA1MCBnaXZpbmcgYi4KCURpdmlkZSA2MjUgYnkgMjUgZ2l2aW5nIGMuCglEaXNwbGF5ICJTdWJ0cmFjdCAyNSBGcm9tIDUwIEVxdWFsczogIixiLgoJRGlzcGxheSAiRGl2aWRlIDYyNSBCeSAyNSBFcXVhbHM6ICIsYy5BQ0NFUFQgbgoJCVBFUkZPUk0gVU5USUwgbiA9IDQyCgkJCURJU1BMQVkgbgoJCQlBQ0NFUFQgbgoJCUVORC1QRVJGT1JNLgoJCVNUT1AgUlVOLgo=