Which COBOL statement is used for subtracting one numeric value from another?
- ADD
- DIVIDE
- MULTIPLY
- SUBTRACT
The SUBTRACT statement in COBOL is used to subtract one numeric value from another. It is a fundamental arithmetic operation in COBOL and supports various formats for different types of numeric data.
Loading...
Related Quiz
- When working with dates in COBOL, the FUNCTION _______ intrinsic function helps with date arithmetic.
- In a COBOL "IF" statement, what happens if the condition is not met?
- What is the significance of the OCCURS clause when used with group data items?
- 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?
- What is the significance of the FILE SECTION in the COBOL Data Division?