Project created as homework for The Silesian University Of Technology. **
The triangle has 3 sides but not all of its lengths combinations can create a triangle. In mathematics, the triangle inequality states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side.
Program asks for 3 numbers. Before checking triangle inequality numbers are sorted from the smallest to the largest and then checks if sum of two smaller numbers are equal or greater than the largest one. If they are then program returns information that user can build a triangle using these lenghts.
- In command prompt go to program directory
- Refer to program and write 3 numbers
C:/../FirstProject 4 6 7
