Q5 The length & breadth of a rectangle and radius of a circle are input through the keyboard. Write a program to calculate area & perimeter of the rectangle and area & circumference of the circle.
Program: 55
Write a c program to find area & perimeter of rectangle and area & circumference of circle | Let Us C Solutions
Output:
Enter the length of rectangle: 3 Enter the breadth of rectangle: 2 Enter the radius of circle: 2 The area of the rectangle: 6.00 The perimeter of the rectangle: 10.00 The area of the circle: 12.56 The circumference of the circle: 12.56