Need help starting program
I'm not really sure how to start this program. Here's the description.
(donít fence me in)
Program Description: You want to build a fence for your livestock and use your neighbors fence for one side. You only have 100 yards of fencing material. You want to build the fence to produce the largest rectangular area possible. Write a program that will determine the largest area you could attain with the 100 yards of fencing material while using your neighbor's fence for the fourth side.
Be sure you use enough different Xís to determine the largest area.
Statements Required: output, loop control, decision making
With 100 yards of fencing material:
A rectangle 25 X 50 yards produces the maximum area of 1250 square yards.