You are on page 1of 1

Paint My House

http://www.piet-mondrian.org/paintings.jsp
In order to estimate the cost of painting a house, a painter needs to know the surface area of
the exterior. Develop an algorithm for computing that value. Your inputs are the width,
length, and height of the house, the number of windows and doors, and their dimensions.
(Assume the windows and doors have a uniform size.)

Input(s) Processing Output(s)

Pseudocode

BEGIN
INPUT

PROCESS

OUTPUT

END

C++ Code

int main()
{
// declare variables

// input

// process

// output

You might also like