IDENTIFICATION DIVISION.
PROGRAM-ID. IDEONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 a Pic x(46) value "TheCobol Add/Multiply Program.".
77 b Pic zz9.
77 c pic zzz9.
77 n PIC Z9 .
PROCEDURE DIVISION.
Add 25 to 25 giving b.
Multiply 25 By 25 giving c.
Display "25 Plus 25 Equals: ",b.
Display "45 Times 45 Eauals: ",c.
ACCEPT n
PERFORM UNTIL n = 42
DISPLAY n
ACCEPT n
END-PERFORM.
STOP RUN.
CUlERU5USUZJQ0FUSU9OIERJVklTSU9OLgoJUFJPR1JBTS1JRC4gSURFT05FLgoJRU5WSVJPTk1FTlQgRElWSVNJT04uCglEQVRBIERJVklTSU9OLgoJV09SS0lORy1TVE9SQUdFIFNFQ1RJT04uCgkwMSBhIFBpYyB4KDQ2KSB2YWx1ZSAiVGhlQ29ib2wgQWRkL011bHRpcGx5IFByb2dyYW0uIi4KCTc3IGIgUGljIHp6OS4KCTc3IGMgcGljIHp6ejkuCgk3NyBuIFBJQyBaOSAuCglQUk9DRURVUkUgRElWSVNJT04uCglBZGQgMjUgdG8gMjUgZ2l2aW5nIGIuCglNdWx0aXBseSAyNSBCeSAyNSBnaXZpbmcgYy4KCURpc3BsYXkgIjI1IFBsdXMgMjUgRXF1YWxzOiAiLGIuCglEaXNwbGF5ICI0NSBUaW1lcyA0NSBFYXVhbHM6ICIsYy4KCUFDQ0VQVCBuCgkJUEVSRk9STSBVTlRJTCBuID0gNDIKCQkJRElTUExBWSBuCgkJCUFDQ0VQVCBuCgkJRU5ELVBFUkZPUk0uCgkJU1RPUCBSVU4uCg==