Computer Science, asked by a1352, 5 days ago

write a java program to input the radius of a circle calculate the area of the circle and print them​

Answers

Answered by ranjanyash31
0

Answer:

Static Method

import java. util. Scanner;

public static void main(String args[])

Scanner s= new Scanner(System. in);

System. out. println("Enter the radius:");

double r= s. nextDouble();

double area=(22*r*r)/7 ;

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

Similar questions