To find the area of circle by give the value by user Posted on 11:04 by Unknown with No comments class Pro5 { public static void main(String arg[]) { double p,r,area; p=3.14; r=Integer.parseInt(arg[0]); area=p*r*r; System.out.print("Area of circle is"+area); } } Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment