In COBOL, which intrinsic function is employed to calculate the square root of a numeric value?
- ABS
- COS
- LOG
- SQRT
The SQRT (Square Root) intrinsic function in COBOL is used to calculate the square root of a numeric value. It returns a result that, when squared, equals the original numeric value.
Loading...
Related Quiz
- How are records typically located and accessed in a relative file?
- How does the OCCURS clause in COBOL relate to arrays and tables in the Data Division?
- Which section of a COBOL program includes the program's logic and calculations?
- The ____________ clause in COBOL can be used to specify the record size when defining file layouts.
- When might you use the SORT operation in a COBOL program?