Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

Discuss the advantages and disadvantages of project management.

Answered: 1 week ago

Question

What's the difference between expenses and expenditures?

Answered: 1 week ago