Tuesday, March 18, 2008

Math class2

class P
{
public static void main(String args[])
{
double x= Math.floor(40.6);
double y = Math.abs(40.6);
System.out.println(" Value of x is ="+x+" and y is ="+y);

}
}

No comments: