public class Area_Of_Circle{ public static void main(String[] args) { int radius=2; double pi = 3.142, area; area = pi * radius * radius; System.out.println("Area of circle is: " + area); }}
View all Questions