IDENTIFICATION DIVISION.
PROGRAM-ID. IDEONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 a Pic x(45) value "The Cobol Compute Add/MultiplyProg.".
77 b Pic zz9.
77 c Pic zzz9.
77 n PIC Z9 .
PROCEDURE DIVISION.
Compute b = (25 + 25).
Compute c = (35 * 35).
Display "25 Plus 25 Equals ",b.
Display "35 Times 35 Equals ",c.
ACCEPT n
PERFORM UNTIL n = 42
DISPLAY n
ACCEPT n
END-PERFORM.
STOP RUN.
CUlERU5USUZJQ0FUSU9OIERJVklTSU9OLgoJUFJPR1JBTS1JRC4gSURFT05FLgoJRU5WSVJPTk1FTlQgRElWSVNJT04uCglEQVRBIERJVklTSU9OLgoJV09SS0lORy1TVE9SQUdFIFNFQ1RJT04uCgkwMSBhIFBpYyB4KDQ1KSB2YWx1ZSAiVGhlIENvYm9sIENvbXB1dGUgQWRkL011bHRpcGx5UHJvZy4iLgoJNzcgYiBQaWMgeno5LgoJNzcgYyBQaWMgenp6OS4KCTc3IG4gUElDIFo5IC4KCVBST0NFRFVSRSBESVZJU0lPTi4KCUNvbXB1dGUgYiA9ICgyNSArIDI1KS4KCUNvbXB1dGUgYyA9ICgzNSAqIDM1KS4KCURpc3BsYXkgIjI1IFBsdXMgMjUgRXF1YWxzICIsYi4KCURpc3BsYXkgIjM1IFRpbWVzIDM1IEVxdWFscyAiLGMuCglBQ0NFUFQgbgoJCVBFUkZPUk0gVU5USUwgbiA9IDQyCgkJCURJU1BMQVkgbgoJCQlBQ0NFUFQgbgoJCUVORC1QRVJGT1JNLgoJCVNUT1AgUlVOLgo=