0% found this document useful (0 votes)
6 views1 page

Flowchart Assignment Painting Company

The document outlines a process for calculating the total cost of painting a room, including the necessary inputs such as dimensions of walls, doors, and windows, as well as paint price. It details the calculations for total wall area, paintable area, gallons of paint needed, labor hours, and overall costs. The final output includes the gallons of paint required, hours of labor, cost of paint, labor charges, and total cost of the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Flowchart Assignment Painting Company

The document outlines a process for calculating the total cost of painting a room, including the necessary inputs such as dimensions of walls, doors, and windows, as well as paint price. It details the calculations for total wall area, paintable area, gallons of paint needed, labor hours, and overall costs. The final output includes the gallons of paint required, hours of labor, cost of paint, labor charges, and total cost of the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Start

Enter height and width of room


walls and number of walls

Enter height and width of doors


and number of doors

Enter height and width of windows


and number of windows

Enter price of paint per gallon

- Calculate TotalWallArea =
(WallHeight * WallWidth) *
NumberOfWalls

- Calculate TotalDoorWindowArea =
(DoorHeight * DoorWidth *
NumberOfDoors) + (WindowHeight
* WindowWidth *
NumberOfWindows)

- Calculate PaintableWallArea =
TotalWallArea -
TotalDoorWindowArea

- Calculate GallonsOfPaint =
Math.ceil(PaintableWallArea / 300)

- Calculate HoursOfLabour =
Math.ceil((PaintableWallArea / 300)
* 8)

- Calculate CostOfPaint =
GallonsOfPaint * PaintPrice

- Calculate LabourCharges =
HoursOfLabour * 20

- Calculate TotalCost = CostOfPaint +


LabourCharges

- Display GallonsOfPaint
- Display HoursOfLabour
- Display CostOfPaint
- Display LabourCharges
- Display TotalCost

END

You might also like