logo

Ewa Soboń - my C++

triangle checker

The program asks the user to enter three side lengths and checks whether they can form a valid triangle, classifying its type and calculating its perimeter and area.

try console

To try the program, enter a value into STDIN first, then click the Run button.

Enter three side lengths separated by spaces (e.g., 3 4 5).
Use a dot (.) as the decimal separator (e.g., 3.5 4.7 5).
If you enter an invalid value or letters, click the Stop button.

There are some limitations in the mobile version of the compiler. For the full experience, please use a PC.

+48 608 212 475
ewa.beata.sobon@gmail.com
+48 608 212 475 ewa.beata.sobon@gmail.com