Flowchart Assignment Painting Company
Flowchart Assignment Painting Company
- 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
- Display GallonsOfPaint
- Display HoursOfLabour
- Display CostOfPaint
- Display LabourCharges
- Display TotalCost
END