Class: Main, RoomSize, PaintType
Computers and Technology, 09.12.2020 01:00 nuconteaza119
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.
Answers: 1
Computers and Technology, 21.06.2019 18:00
What ordering of tcp flags makes up the three-way handshake?
Answers: 2
Computers and Technology, 23.06.2019 06:00
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
Computers and Technology, 23.06.2019 11:00
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
Challenge 15A - PaintCalculator
Package: chall15A
Class: Main, RoomSize, PaintType
Class: Main, RoomSize, PaintType
Mathematics, 20.08.2019 21:30
Computers and Technology, 20.08.2019 21:30
Spanish, 20.08.2019 21:30
Computers and Technology, 20.08.2019 21:30
Geography, 20.08.2019 21:30
Engineering, 20.08.2019 21:30
Geography, 20.08.2019 21:30
History, 20.08.2019 21:30
Computers and Technology, 20.08.2019 21:30
Biology, 20.08.2019 21:30
Mathematics, 20.08.2019 21:30