C languageC SolutionChapter 1Programming

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

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.