Professional Documents
Culture Documents
h> main() { int a,b,c,big; printf("Enter the three numbers:"); scanf("%d%d%d",&a,&b,&c); if(a>b) { if(a>c) big=a; else big=c; } else { if(b>c) big=b; else big=c; } printf("The largest number:%d",big); } OUTPUT Enter the three numbers: 10 9 6 The largest number:10