cout<<"Enter three sides of a triangle:"; //Enter using space ...
If invalid, the program informs the user that the values do not form a triangle. The user is then prompted to continue or exit.