Answered step by step
Verified Expert Solution
Link Copied!

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 512 square feet and cost $33.75. 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 stop)**modulo 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions