#include <stdio.h>

int main() {
	int side1;
	int side2;
	int side3;

	printf("Enter the three sides: ");
	scanf("%d %d %d", &side1, &side2, &side3);

	// triangle inequality: summation of the length of any two side must be greater or equal to the length of the third side
	if ((side1 + side2 >= side3) && (side1 + side3) >= side2 && (side2 + side3) >= side1) {
		printf("The side lengths satisfy the triangle inequality.");
	} else {
		printf("A triangle is not possible with such side lengths.");
	}
}
⇪