New course! Every coder should learn Generative AI!
Try a free lesson0
Find the area of a circle
hello world
2 Answers
+ 2
A = (PI)R^2
+ 2
Hi, 👇
1| Scanner input = new Scanner(System.in);
2| double circleRadius = input.nextDouble();
3| double circleArea = Math.PI*(circleRadius*circleRadius);