Homebasic program calculate area of circle September 19, 2023 0 public class Area_of_circle{ public static void main(String[] args) { int r=5; double pi=3.14; double area=pi*r*r; System.out.println("Area of circle is : "+area); }}Output: Area of circle is : 78.5 You Might Like View all
Post a Comment