Quick Start C: Loops, Arrays, Functions
Perimeter of triangle
The sides of triangle are given. Find the perimeter of triangle.
Consists of multiple tests. Each line contains the lengths of three sides of triangle. The lengths are positive real numbers.
For each test print in a separate line the perimeter of triangle with 4 decimal digits.
6.23 5.123 7.32141 2.12 4 3.012 3 3 3.033
18.6744 9.1320 9.0330