You are developing a COBOL program that needs to calculate the square root of a given number. Which COBOL intrinsic function would you use for this purpose?

  • ABS
  • EXP
  • LOG
  • SQRT
The SQRT intrinsic function in COBOL is used to calculate the square root of a given number. It is suitable for scenarios where you need to perform mathematical operations involving square roots.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *