•Print “For a painting”,
length, “in. long and”, width
•Print “in. wide, you need to
buy”, lengthOfWood, “in.”
•Print “of wood and the canvas
must be”, canvasLength
•Print “in. long and”,
canvasWidth, “in. wide. Given a”
•Print “wood cost of $”,
woodCost, “per in. and a”
•Print “canvas cost of $”,
canvasCost, “per sq. ft., the”
•Print “wood will cost $”,
totWoodCost, “, the canvas”
•Print “will cost $”,
totCanvasCost, “, and the total cost”
•Print “of materials will be
$”’, totCost, ‘.’