IDENTIFICATION DIVISION.
PROGRAM-ID. IDEONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 a Pic x(46) value "The Cobol Add And Multiply Program.".
77 b Pic zz9.
77 c Pic zzz9.
77 n PIC Z9 .
PROCEDURE DIVISION.
Display a.
Add 25 To 25 giving b.
Multiply 25 By 25 giving c.
Display "Add 25 Plus 25 Equals: ",b.
display "Multiply 25 By 25 Equals: ",c.
ACCEPT n
PERFORM UNTIL n = 42
DISPLAY n
ACCEPT n
END-PERFORM.
STOP RUN.
CUlERU5USUZJQ0FUSU9OIERJVklTSU9OLgoJUFJPR1JBTS1JRC4gSURFT05FLgoJRU5WSVJPTk1FTlQgRElWSVNJT04uCglEQVRBIERJVklTSU9OLgoJV09SS0lORy1TVE9SQUdFIFNFQ1RJT04uCgkwMSBhIFBpYyB4KDQ2KSB2YWx1ZSAiVGhlIENvYm9sIEFkZCBBbmQgTXVsdGlwbHkgUHJvZ3JhbS4iLgoJNzcgYiBQaWMgeno5LgoJNzcgYyBQaWMgenp6OS4KCTc3IG4gUElDIFo5IC4KCVBST0NFRFVSRSBESVZJU0lPTi4KCURpc3BsYXkgYS4KCUFkZCAyNSBUbyAyNSBnaXZpbmcgYi4KCU11bHRpcGx5IDI1IEJ5IDI1IGdpdmluZyBjLgoJRGlzcGxheSAiQWRkIDI1IFBsdXMgMjUgRXF1YWxzOiAiLGIuCglkaXNwbGF5ICJNdWx0aXBseSAyNSBCeSAyNSBFcXVhbHM6ICIsYy4KCUFDQ0VQVCBuCgkJUEVSRk9STSBVTlRJTCBuID0gNDIKCQkJRElTUExBWSBuCgkJCUFDQ0VQVCBuCgkJRU5ELVBFUkZPUk0uCgkJU1RPUCBSVU4uCg==