Check Triangle Type: Equilateral, Isosceles, Scalene, or Invalid in C
This program reads the three sides of a triangle and determines whether it is equilateral, isosceles, scalene, or not a valid triangle at all — using nested if-else statements. C Program #include <stdio.h> int main() { float a, b, c; printf(“Enter the three sides of the triangle: “); scanf(“%f %f %f”, &a, &b, &c); if … Read more