Question: This is mine what's is wrong with it? C++ Lab 3.cpp 1 #include 2 #include 3 using namespace std; 4 int main() { double gallNum;

This is mine what's is wrong with it?

This is mine what's is wrong with it? C++ Lab 3.cpp 1

C++

#include 2 #include 3 using namespace std; 4 int main() { double

gallNum; double roomWidth; double roomLenght; double roomHeight; const double one_gal_paint=30.6; double totalPrice;

Lab 3.cpp 1 #include 2 #include 3 using namespace std; 4 int main() { double gallNum; double roomWidth; double roomLenght; double roomHeight; const double one_gal_paint=30.6; double totalPrice; cout> roomWidth; cout>roomLenght; cout>roomheight; gallNum-(((roomheight"roomLenght)*2)+((roomheightroomWidth)*2)+(roomLenght"roomWidth))/490.8; totalPrice gallNun "one_gal_paint; if (gallNum-3) { totalPrice= totalPrice*.90; else if (gallNum>=5){ totalPrice-totalPrice*.80; else totalPrice totalPrice; cout

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!