public class Circle: Shape
area = pie*radius*radius;
Console.WriteLine("Area of Circle: "+area);
Console.WriteLine("Circumstance of Circle: "+circum);
public Rect(int h,int w){
Console.WriteLine("Area of Rectangle: "+area);
Console.WriteLine("Circumstance of Rectangle: "+circum);
public static void Main(String[] args)
Console.WriteLine("Enter the radius of the Circle: ");
r = float.Parse(Console.ReadLine());
Console.WriteLine("Enter the height of the Rectangle: ");
l = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the width of the Rectangle: ");
b = Convert.ToInt32(Console.ReadLine());
Circle c = new Circle(r);