Project 8: (General Case) Rectangle Perimeter

Example: Examine the figure above.  If length = 12 units and width = 10 units, what is the perimeter (the distance all the way around the figure)?

The answer is 44 units.  


Project: Variables of 'length' and 'width' have been initialized to unknown numbers.  Appropriately initialize the value of 'perimeter'.

Note: If your code works for 5 test cases in a row, you can enter your e-mail address.