Computer Science, asked by Anukta14, 1 year ago

A program in Java to assign radius with a value. Find and print area of circle using the formula: "area= πR2

Answers

Answered by amannishad0512p5zxh6
5

class Area

{

public static void main (int radius )

{

double pie=1.73 ,area=0.0d;

area =pie*(radius*radius);

System.out.println("Area is "+area);

}

}

Pls compile the program.

Mark me brainlest.i need it,I m 1st to answer your doubt.and follow me for more java doubts.

Similar questions