KnowledgeBoat Logo
|

Computer Applications

Which of the following functions will find the square root of a number 'a'?

  1. sqrt(a)
  2. Math.sqrt(a)
  3. Squareroot(a)
  4. √a

Input in Java

4 Likes

Answer

Math.sqrt(a)

Reason — Math.sqrt() function is used to find the square root of a positive number.

Answered By

3 Likes


Related Questions