Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Printing cube root of a number in java

// Find the cube root of given input(double) 

        double x = 27;
        
        double result = java.lang.Math.cbrt(x);
       
        System.out.println(result);
Source by learnandlearn.com #
 
PREVIOUS NEXT
Tagged: #Printing #cube #root #number #java
ADD COMMENT
Topic
Name
4+9 =