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: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Some of your friends have gotten into the burgeoning field of time-series data mining, in which one looks for patterns in sequences of events that occur over time. purchases at stock exchanges--what’s being bought-- are one source of data with a natural ordering in time. given a long sequence s of such events, your friends want an efficient way to detect certain "patterns" in them--for example, they may want to know if the four events buy yahoo, buy ebay, buy yahoo, buy oracle occur in this sequence s, in order but not necessarily consecutively. they begin with a collection of possible events (e.g., the possible’ transactions) and a sequence s of n of these events. a given event may occur multiple times in s (e.g., yahoo stock may be bought many times in a single sequence s). we will say that a sequence s’ is a subsequence of s if there is a way to delete certain of the events from s so that the remaining events, in order, are equal to the sequence s’. so, for example, the sequence of four events above is a subsequence of the sequence buy amazon, buy yahoo, buy ebay, buy yahoo, buy yahoo, buy oracle their goal is to be able to dream up short sequences and quickly detect whether they are subsequences of s. so this is the problem they pose to you: give an algorithm that takes two sequences of even~s--s’ of length m and s of length n, each possibly containing an event more than once--and decides in time o(m n) whether s’ is a subsequence of s
Answers: 2
question
Computers and Technology, 22.06.2019 04:30
Dr. wisteria is a prominent chiropractor in the chicago area. she wants to provide a forum for her patients to discuss their health concerns and to seek and offer advice to other patients. which telecommunications tool is most appropriate for dr. wisteria's needs?
Answers: 3
question
Computers and Technology, 23.06.2019 10:00
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
You know the right answer?
Challenge 15A - PaintCalculator Package: chall15A
Class: Main, RoomSize, PaintType

Questions
question
Social Studies, 06.04.2021 05:00
Questions on the website: 13722362