How much paint? A gallon of paint covers 422 square feet and costs $29.85. Using flowgorithm determine and display the amount of paint it will take to paint a fence of a specified height and length, the fence is solid not rails. Your flowgorithm should perform the following tasks: Declare all required variables Declare constants and initialize them Prompt for the input of the fence height Prompt for the input of the fence length Calculate the total square feet to be painted Calculate the required number of gallons of paint required, you cannot purchase a partial gallon of paint** Display, with appropriate output labels, the total square feet to be painted, the number of gallons of paint needed and the total cost of the paint Ask if a second estimate needs to be made (keep program running until told to stop) **modulo operator perhaps Remember the following: make sure your calculations are correct use clear prompts for your input label each output number or name use comment box for your name, lab name and date at the top
How much paint? A gallon of paint covers 422 square feet and costs $29.85. Using flowgorithm determine and display the amount of paint it will take to paint a fence of a specified height and length, the fence is solid not rails. Your flowgorithm should perform the following tasks: Declare all required variables Declare constants and initialize them Prompt for the input of the fence height Prompt for the input of the fence length Calculate the total square feet to be painted Calculate the required number of gallons of paint required, you cannot purchase a partial gallon of paint** Display, with appropriate output labels, the total square feet to be painted, the number of gallons of paint needed and the total cost of the paint Ask if a second estimate needs to be made (keep
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images