Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can anyone help me with this assignment? It is for a Flowgorithm assignment. I have gotten program started but I somehow have errors when doing
Can anyone help me with this assignment? It is for a Flowgorithm assignment. I have gotten program started but I somehow have errors when doing the math for 'calculating the total square feet' and 'required number of gallons to paint' in my code.
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)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