17 June, 2012

Find The Square Root



import  java.lang.Math;
class Squareroot
{
public static void main(String args[])
   {
      double x=5;
      double y;
      y=Math.sqrt(x);
      System.out.println("y= "  +  y);
 }
}

No comments:

Post a Comment

Thank You !