Question: write a c++ programm to calculate the area and circumference of rectangle. the structure of of the program is : 1)declare two variables namely height

write a c++ programm to calculate the area and circumference of rectangle.

the structure of of the program is :

1)declare two variables namely height and width

2)initialize the variables by asking the user

3)call the two functions areaRectangle() and circumferenceRectangle() from the main function

4)function calculate the area of rectangle called circumferenceRectangle()

5)write a function to calculate the area of the rectangle called areaRectangle()

6)write a function to calculate the area of the rectangle called circumferenceRectangle()

7)write prototyes for all possible function in code

8)display the result for each operatiom in the functon it self

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!