Project 11: Additive Area

Examine the figure above.  If A = 12 units, B = 15 units, C = 4 units, D = 10 units, what is the area (the space inside the figure)?

The answer is 100 square units.  Think about how long the unmarked sides are.


Project: Variables 'a', 'b', 'c', and 'd' have been initialized to the values below.  Appropriately initialize the value of 'area


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