Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java square root

double squar = Math.pow([value],0.5) // square root of the value
  
 ex : 

public class SquareRoot{

     public static void main(String []args){
        System.out.println(Math.pow (4, 0.5));
     }
}

 output : 
>>2
 
PREVIOUS NEXT
Tagged: #java #square #root
ADD COMMENT
Topic
Name
7+7 =