You are on page 1of 2

#include(stdio.h) #include(conio.

h) void main() { int a,b,c; clrscr(); printf("enter three number"); scanf("%d%d%d",&a,&b,&c); if(a>b) } if(a>c) printf("a is greatest"); else printf("c is greatest"); } else { if(b>c) printf("b is greatest"); else printf("c is greatest"); } getch(); }

You might also like