subject

Java 3.30 LAB*: Program: Painting a wall (1) Prompt the user to input a wall's height and width. Calculate and output the wall's area. (2 pts) Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs. Enter wall height (feet): 12.0 Enter wall width (feet): 15.0 Wall area: 180.0 square feet (2) Extend to also calculate and output the amount of paint in gallons needed to paint the wall. Assume a gallon of paint covers 350 square feet. Store this value using a final double variable. (2 pts) Enter wall height (feet): 12.0 Enter wall width (feet): 15.0 Wall area: 180.0 square feet Paint needed: 0.5142857142857142 gallons (3) Extend to also calculate and output the number of 1 gallon cans needed to paint the wall. Hint: Use a math function to round up to the nearest gallon. (2 pts) Enter wall height (feet): 12.0 Enter wall width (feet): 15.0 Wall area: 180.0 square feet Paint needed: 0.5142857142857142 gallons Cans needed: 1 can(s)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:10
What role did women fill during world war ii?
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Which best describes the condition under which the unicode output is the same as plain text ?
Answers: 1
You know the right answer?
Java 3.30 LAB*: Program: Painting a wall (1) Prompt the user to input a wall's height and width. Cal...
Questions
question
English, 07.07.2021 20:40
question
English, 07.07.2021 20:40
question
Computers and Technology, 07.07.2021 21:10
question
English, 07.07.2021 21:10
Questions on the website: 13722361