ShriRam Changed status to publish July 15, 2022
#include<stdio.h> void main() { int a,b,c; printf("Enter three numbers: "); scanf("%d %d %d", &a, &b, &c); if (a >= b) { if (a >= c) printf("%d is the largest number", a); else printf("%d is the largest number", c); } else { if (b >= c) printf("%d is the largest number", b); else printf("%d is the largest number",c); } getch(); }
ShriRam Changed status to publish July 15, 2022