Question: this is supposed to calculate the area which is for a wall and two windows with the wall , can you please put them in

this is supposed to calculate the area which is for a wall and two windows with the wall , can you please put them in the correct order? thank you ,also put it in c++ ill be very thankful

1 double wall_height = 8;

2 int windows = 2;

3 int main()

4 double window_width = 3;

5 Dimensions of the wall and

6 number and dimensions of the windows

7 cout <<"Area of wall with 2 windows is: " <

8 /*

9 double window_height = 4;

10 area = area windows * window_width * window_height;

11 */

12 double wall_width = 30;

13 */

14 /*

15 This program computes the area of a wall with two windows.

16 // Computation and display of the result

17 double area = wall _width * wall_height;

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!