in ,

Cobol is literally just English

Cobol is literally just English | program-memes, data-memes, c-memes, ide-memes, div-memes, comment-memes | ProgrammerHumor.io
program-memes, data-memes, c-memes, ide-memes, div-memes, comment-memes | ProgrammerHumor.io

[text] 1 IDENTIFICATION DIVISION. 4 PROGRAMID. ADDNUMBERS. DATA DIVISION. FILE SECTION. 5 WORKINGSTORAGE SECTION. 6 01 FIRSTNUMBER PICTURE IS 99. s 01 SECONDNUMBER PICTURE IS 99. T R g PICTURE IS 9999. C PROCEDURE DIVISION. kU sy LSRN 4 DISPLAY Here is the first Number 13 MOVE 8 TO FIRSTNUMBER 14 DISPLAY FIRSTNUMBER 15 b3 DISPLAY Lets add 20 to that number. bird ADD 20 TO FIRSTNUMBER bt DISPLAY FIRSTNUMBER b 20 DISPLAY Create a second variable 21 MOVE 30 TO SECONDNUMBER 22 DISPLAY SECONDNUMBER 23 24 COMMENT COMPUTE THE TWO NUMBER AND PLACE INTO RESULT 25 COMPUTE RESULT FIRSTNUMBER SECONDNUMBER. 26 rd DISPLAY The result is. 28 DISPLAY RESULT. t RN 30 END PROGRAM ADDNUMBERS. 31