Make sure to subscribe to our newsletter and be the first to know the news.
Make sure to subscribe to our newsletter and be the first to know the news.
public class SqrtFinder
{
public static void main(java.lang.String args[])
{
int num=27;
double sq=Math.sqrt(num);
double cb=Math.cbrt(num);
System.out.println("Square Root of "+num+" is : "+sq);
System.out.println("Cube Root of "+num+" is : "+cb);
}
}