Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Please!! The last test was wrong please help me In order to paint a wall that has a number of windows, we want to

C++ Please!!

The last test was wrong please help me

image text in transcribed

image text in transcribed

In order to paint a wall that has a number of windows, we want to know its area. Each window has a size of 2ft by 3ft. Write a program that reads the width and height of the wall and the number of windows, using the prompts Wall width: Wall height: Number of windows: Then print the area with two digits after the decimal point: Area: ... wallarea.cpp Number of windows: 3 Area: 2982.00 pass Test 2 Wall width: 120 Wall height: 100 Number of windows: 10 Area: 11940.00 pass Test 3 Input: 40 57.5 6 \begin{tabular}{l|l|} \hline \multicolumn{1}{|c|}{ Actual } & \multicolumn{1}{|c|}{ Expected } \\ \hline & Wall width: \\ Wall width: & Wall height: \\ Wall & Number of windows: \\ Number of windows: & Nrea: 2264.00 \\ \hline Area: 2280.00 & \\ \hline \end{tabular} fail Score 2/3

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

More Books

Students also viewed these Databases questions

Question

A+BC+D if [A]=7.7M,[B]=2.4M,[C]=4.4M, and the [D]=3.2M. kJmol1

Answered: 1 week ago