Answers for "area"

0

area

import java.util.Scanner;
class AreaOfCircle 
{
   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);      
   }
}
Posted by: Guest on June-06-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language