The ________ operator is used for raising a numeric value to a specified power in COBOL.
- CALCULATE
- EXPONENTIATION
- MATH
- POWER
In COBOL, the EXPONENTIATION operator (**) is used for raising a numeric value to a specified power. For example, X ** 2 represents X squared.
Loading...
Related Quiz
- In COBOL, the "UNSTRING" statement can generate an "OVERFLOW" exception if the result field is _____.
- In a COBOL program, you need to execute a stored procedure to update customer records in a database. How would you achieve this?
- What is the purpose of the ACCESS MODE clause when defining an indexed file in COBOL?
- In COBOL, when dealing with variable-length records, the "DEPENDING ON" clause is used to specify the ______ upon which the length of a record depends.
- In COBOL, what happens when you declare a variable in the DATA DIVISION but outside of any specific procedure?