Write a program in java to find the area and circumference of a circle ring, whose outer and inner radii are 5cm and 2cm. Programming Beginner To Advanced class circle_ring{ public static void main(String args[]) { int r1=5,r2=2; double a,c; a=3.14*(r1*r1+r2*r2); c=2*3.14*7; System.out.println("Area of the circle="+a); System.out.println("Circumference of the circle="+c); }} Share This: Facebook Twitter Google+ Stumble Digg