subject
Computers and Technology, 04.12.2020 20:00 DBE12

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, 21.06.2019 19:30
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname,firstname with no spaces in it) or a name (lastname,firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none.txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
question
Computers and Technology, 21.06.2019 21:00
You turn your computer on and the computer will not boot up where is something you should do to diagnose the problem?
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
You know the right answer?
Challenge 15A - PaintCalculator Package: chall15A
Class: Main, RoomSize, PaintType

Questions
question
Arts, 04.02.2021 21:00
question
Mathematics, 04.02.2021 21:00
question
Mathematics, 04.02.2021 21:00
question
Mathematics, 04.02.2021 21:00
question
Mathematics, 04.02.2021 21:00