7.4 Practice Problem Set 1 Q3
You live in squareville. Everyone in squareville wants a fence around their backyard, but they are having trouble figuring out how much a
fence will cost. The mayor of squareville has hired you to design a program for determining how much a fence will cost based on the size of
a residents back yard. Luckily, every resident has a square backyard with side lengths of at least 6 feet. Unfortunately, there is a local zoning
requirement that all fences must be exactly 2 feet inside the perimeter of a backyard. The local fence construction company will charge 10
dollars per foot of fence.
Based on the description above design a program that will take the length of a side of a residents backyard (in feet) as in input and then
output the amount of dollars that such a fence will cost.
--Note-- You will not be required to write any cout statements asking the user for input. You will simply write the code and place your
input(s) into the \"Enter program input (optional)\" text box recalling that multiple inputs are separated by a space