Which arithmetic operator is used to perform subtraction in COBOL?
- * (Multiply)
- + (Plus)
- - (Minus)
- / (Divide)
The subtraction operation in COBOL is represented by the minus (-) operator. It is used to subtract one numeric value from another in COBOL programs.
Loading...
Related Quiz
- In COBOL, the _______ statement is used to perform a series of statements repeatedly.
- Your COBOL program needs to generate reports with date and time stamps in a specific format for different regions. How would you approach formatting date and time values for these reports?
- In COBOL, what is the purpose of the FUNCTION statement when using intrinsic functions?
- The CONTINUE statement is primarily used for __________ error handling in COBOL programs.
- Which conditional statement in COBOL allows you to test multiple conditions sequentially?