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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started