Académique Documents
Professionnel Documents
Culture Documents
----Psuedocode---Module main()
Real sqft,
pricePerGal
totalGallons
hours
paintCost
labor
totalCost
sqft = getSqft()
pricePerGal = getPricePerGal()
totalGallons = calcGallons(sqft)
hours = calcHours(totalGallons)
paintCost = calcPaintCost(totalGallons, pricePerGal)
labor = calcLabor(hours)
Function getSqft()
Real sqft
Module displayTotal(Real totalGal, Real hours, Real paint, Real labor, Real total)
Print "Total Gallons: ", totalGal
Print "Total hours: ", hours