
2) Write an interactive program that asks the user to enter the first letter of a geometric shape, and then let your program calculate and output the area and perimeter of the chosen shape. For simplicity, let your program deal only with rectangles and circles. Hints: For a rectangle: area = base × height, perimeter = 2 * (base + height)) For a circle: area-πτ2, circumference-2πr, where r is the radius. Your program must
PayPal Gateway not configured
PayPal Gateway not configured