Q9 Given the length and breadth of a rectangle, write a program to find whether the area of the rectangle is greater than its perimeter. For example, the area of the rectangle with length=5 and breadth=4 is greater than its perimeter.

Program: 77

Given the length and breadth of a rectangle, write a c program to find whether the area of the rectangle is greater than its perimeter. For example, the area of the rectangle with length = 5 and breadth = 4 is greater than its perimeter.

Output:

 Enter the length of rectangle: 4
 Enter the breadth of rectangle: 5
 The area of rectangle: 20.000000
 The perimeter of rectangle: 18.000000
 Area of rectangle is greater than it's perimeter

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.