![]() ![]() You must follow a modular programming approach, which is a subset of the procedural programming approach to do this. It follows an organized way to do the programming. The COBOL program contains a logical structure called structure COBOL programming. To execute the COBOL program without an error, we must put the divisions in proper order. COBOL Program StructureĬOBOL uses its compiler to translate the program into an object program before the execution. To support this English-like syntax, COBOL uses more than 300 keywords. For example, a > b AND a > c OR a = d can be shortened to a > b AND c OR = d. It also abbreviates the complex conditions by removing the repeated conditions and variables. Before defining the program structure of COBOL, you must know the syntax of a COBOL program.ĬOBOL is a high-level language that follows English-like syntax, used to describe everything in a program.įor example: In a COBOL program, a condition can be expressed as x IS GREATER THAN y or more concisely as x GREATER y or x > y. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |