Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

square root of a number in java without sqrt

Scanner in=new Scanner(System.in);
int num=in.nextInt();
Systen.out.println(Math.pow(num,0.5));
 
PREVIOUS NEXT
Tagged: #square #root #number #java #sqrt
ADD COMMENT
Topic
Name
6+5 =