// 3. Check whether a triangle can be formed; if yes, find whether it is
//    equilateral, isosceles or scalene
#include <stdio.h>

int main() {
    int a, b, c;

    printf("Enter the three sides of the triangle: ");
    scanf("%d %d %d", &a, &b, &c);

    // Sum of any two sides must be greater than the third side
    if (a + b > c && a + c > b && b + c > a) {
        printf("Triangle can be formed\n");

        if (a == b && b == c) {
            printf("The triangle is Equilateral\n");
        } else if (a == b || b == c || a == c) {
            printf("The triangle is Isosceles\n");
        } else {
            printf("The triangle is Scalene\n");
        }
    } else {
        printf("This Triangle is NOT possible\n");
    }

    return 0;
}
