Enter the three sides of a triangle, use 0's to stop.
18 20 7
Sides of this triangle are 18 20 7
Enter next triangle
40 39 38
Sides of this triangle are 40 39 38
Enter next triangle
38 21 30
Sides of this triangle are 38 21 30
Enter next triangle
30 15 17
Sides of this triangle are 30 15 17
Enter next triangle
17 9 15
Sides of this triangle are 17 9 15
Enter next triangle
15 13 5
Sides of this triangle are 15 13 5
Enter next triangle
8 5 2
Sides of this triangle are 8 5 2
Bad data - returning 0 for this triangle
Enter next triangle
0 0 0

Total area of patio is 1216.59
Press any key to continue
