Basics_Que_03

Home / Java Practice Question / Basics_Que_03

Basics_Que_03


WAP to take radius from the user and find area of circle....

Program : 



public class Basics{
public static double circleArea(double r){

double ans=3.14*r*r;
return ans;
}

}