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

}

}

Oh my god. I appreciate your work. Keep it up. JAVA......

ReplyDeleteThnx a lot swapnali.

DeleteThank you for information

ReplyDeleteFibreglass Ladders

:-)

Delete