Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How much paint?A gallon of paint covers 5 1 2 square feet and cost $ 3 3 . 7 5 . Using flowgorithm determine and
How much paint?A gallon of paint covers square feet and cost $ 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 in feet
Prompt for the input of the fence length in feet
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 toldto stopmodulo operator perhapsRemember 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 of the flowgorithm
use other comments where appropriate
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started