Which statement in the COBOL Procedure Division is used to perform calculations and data manipulation?
- ADD
- COMPUTE
- MOVE
- PERFORM
The COMPUTE statement in COBOL is used for performing calculations and data manipulation. It allows the programmer to define complex arithmetic expressions to update variables.
Loading...
Related Quiz
- What is the primary purpose of integrating COBOL with a database system?
- The COMPUTE statement in COBOL is often used for _____ complex arithmetic calculations.
- When is it preferable to use fixed-length records instead of variable-length records in COBOL file processing?
- In COBOL, how can you define a group item containing multiple elementary items?
- What is the difference between the PERFORM...THRU and PERFORM...VARYING statements in COBOL?