Question: a. Write,compile, and run c++ program that displays the following prompts: Enter the length of the room: Enter the width of the room: after each

a. Write,compile, and run c++ program that displays the following prompts: Enter the length of the room: Enter the width of the room: after each prompt is displayed your program should use a cin object call to accept date from the keyboard for the displayed prompt. After the width of the room is entered, your program should calculate and display the area of the room. The area displayed should be calculated by using the formula are =length x width and should be included in an appropriate message.

b. check the area displayed by the program written for exercise 2a by calculating the result manually.

please help ! in c ++ .thanks you

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!