Computer Science, asked by chakkumar404, 21 hours ago

Write a program in Java to calculate and print the area of a circle if the radius is 3.5cm.​

Answers

Answered by ItzMeSam35
3

import java.util.*;

public class Area

{

public static void main (String args [])

{

double pi = 3.14 ;

double area ;

double radius = 3.5 ;

area = pi * radius * radius ;

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

}

}

Answered by singhshreyansh000
0

Explanation:

It will help you

mark as brilliant

Attachments:
Similar questions