Determine Triangle Feasibility with Exception Handling

# Introduction In this challenge, we will be writing a program to determine whether three given side lengths can form a triangle. We will implement an exception class called `TriangleException` to handle cases where a triangle cannot be formed. If the three sides can form a triangle, we will output the lengths of the triangle sides. If not, we will throw the `TriangleException` and catch it in the `main` method, printing the message "Cannot form a triangle" in the `catch` block.

|60 : 00

Click the virtual machine below to start practicing