#include #include main() { int a,b,c; clrscr(); printf("\n This program will o/p the greatest of three numbers a, b & c."); printf("\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"); printf("\na="); scanf("%d",&a); printf("\nb="); scanf("%d",&b); printf("\nc="); scanf("%d",&c); if(a==b && b==c) printf("\nAll three numbers are equal"); else { if(a>=b && a>=c) printf("\n%d is greatest.",a); if(c>a && c>=b) printf("\n%d is greatest.",c); if(b>a && b>c) printf("\n%d is greatest.",b); } getch(); }