In COBOL, which statement is used to add two numeric values together?
- ADD
- DIVIDE
- MULTIPLY
- SUBTRACT
The ADD statement in COBOL is used to add two or more numeric values together. It supports various formats and can be used for both integer and decimal arithmetic operations.
Loading...
Related Quiz
- The PERFORM _______ loop in COBOL allows you to iterate through a range of values.
- In your COBOL program, you need to handle the situation where a file record exceeds the defined maximum length. How would you approach this exception?
- In COBOL, what is the LEVEL number used for in the data description entry (FD)?
- When formatting dates for user display, the _____ format ensures readability across different locales.
- The FUNCTION _______ intrinsic function is utilized to obtain the integer portion of a numeric value.