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);

}

}

{

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);

}

}

## 0 comments:

## Post a Comment