subject

Challenge 15A - PaintCalculator Package: chall15A
Class: Main, RoomSize, PaintType

Write a program to help a paint company prepare bids for painting projects

Your program must:

1. Have a RoomSize class with a constructor that holds the parameters of length, height, and width.
2. Have a PaintType class with a constructor that holds the parameters of color, cost, and coverage.
3. Constructors should have methods for getters and setters.
5. Main should provide a menu to enter room and paint information to the objects and then make calculations.

Use the following information.

• Wall surface area of a room = (L*W)+2*(L*H)+2*(H*W)
• Base Blue Paint, $30/gal, 300 square feet
• Base Green Paint, $ 32/gal, 350 square feet
• Premium Blue Paint $40/gal, 425 square feet
• Premium Green Paint, $42/gal, 415 square feet

Make a calculation to bid for a hotel with 150 rooms. Rooms are 15'x12'x9', Half of the rooms are to be blue and the other half green. Create a bid for both Base and Premium paints.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:40
Mary's manager told her she should insert a graphic into her documentwrite mary a brief note describing how to insert a graphicin a word processing document.
Answers: 1
question
Computers and Technology, 22.06.2019 08:00
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
question
Computers and Technology, 23.06.2019 02:50
Define a class named movie. include private fields for the title,year, and name of the director. include three public functions withprototypes void movie: : settitle(cstring); , voidmovie: : setyear(int); , void movie: : setdirector(string); . includeanother function that displays all the information about a movie.write a main() function that declares a movie object namedmyfavoritemovie. set and display the object's fields.this is what i have but know its wrong since it will notcompile: #include#includeusing namespace std; //class declarationclass movie{private: string movietitle ; string movieyear; string directorname; public: void settitle(string title); void setyear(string year); void setdirector(string director); void displayinfo(); }; //class implementationvoid movie: : settitle(string title){ movietitle = title; cout< < "what is the title of themovie? "< > temp; myfavoritemovie.settitle(temp); cout< < "enter movie year"< > temp; myfavoritemovie.setyear(temp); cout< < "enter director'sname"< > temp; myfavoritemovie.setdirector(temp); //display all the data myfavoritemovie.displayinfo(); system("pause"); return 0; this code is not entirely mine someone on cramster edited my firstcode but then i try manipulating the new code and i still get acompile error message : \documents\visual studio 2008\projects\movie\movie\movie.cpp(46) : error c2679: binary '< < ' : no operator found which takes aright-hand operand of type 'std: : string' (or there is no acceptableconversion)c: \program files (x86)\microsoft visual studio9.0\vc\include\ostream(653): could be'std: : basic_ostream< _elem,_traits> & std: : operator< < > (std: : basic_ostream< _elem,_traits> & ,const char *)w
Answers: 1
question
Computers and Technology, 23.06.2019 04:20
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy.a. a fire occurs on the premises, and the building isbadly damaged.b. a burglar steals some money and securities from anunlocked safe.c. a business computer is damaged by vandals whobreak into the shop after business hours.d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm.til
Answers: 2
You know the right answer?
Challenge 15A - PaintCalculator Package: chall15A
Class: Main, RoomSize, PaintType

Questions
question
Mathematics, 27.10.2020 20:10
question
Chemistry, 27.10.2020 20:10
question
History, 27.10.2020 20:10
question
Advanced Placement (AP), 27.10.2020 20:10
Questions on the website: 13722362