Computer Science, asked by MyNameIsPrinceGupta, 1 year ago

A Java program to find the square root of a number

Answers

Answered by MISSPERFECT1
0
hey dear this is ur ans...
public class SquareRootDemo
{    public static void main(String[] args)   
 {        double number = 16;        double squareRoot = Math.sqrt(number);         //Displaying the values        
System.out.println("number : "+number);       
 System.out.println("Square Root : "+squareRoot);   
 }
}
Similar questions