1.

Please solve the question 3 using buffered reader ..its urgent

Answer»

Public class Program
{
static void choose(int x){
System.out.println("cube of the INTEGER "+x+" is"+(x*x*x));
}
static void choose(double x){
System.out.println("SQUARE of the fraction "+ x+" is"+(x*x));
}
public static void main(STRING[] ARGS) {
int a=33;
double b=12.5;
Program.choose(a);
Program.choose(b);
}
}



Discussion

No Comment Found