diff --git a/lab-2/LANGUAGE.md b/lab-2/LANGUAGE.md index 76e220d..229ac3b 100644 --- a/lab-2/LANGUAGE.md +++ b/lab-2/LANGUAGE.md @@ -1,7 +1,15 @@ # Language Proposal ### 1. Hello World +- source used: [Cobol Emulator](https://www.jdoodle.com/execute-cobol-online) +- display the text "Hello World!" in the terminal +- https://www.tutorialspoint.com/cobol/cobol_program_structure.htm this website has useful information about the structure of the cobol language +- the Identification Division is mandatory for all programs and sub divisions have unique sentences within them and determine what is done with variables or IO in this example + #### Input + there is no input for this example + #### Output + the string "Hello World!" is sent to output via the included DISPLAY function ### 2. Quadratic Function - Code altered from [Marco Biagini](https://www.quora.com/What-is-a-COBOL-program-that-will-solve-a-quadratic-equation)