0
why is it not wrking this C program ? please check it.....
Please help... THis is a C language program. **************************************** /* Write a C program to find maximum between three numbers */ #include<stdio.h> void main() { int a, b, c, max; printf("Enter Three Numbers \n"); scanf("%d%d%d", &a, &b, &c); if(a > b) { if(a > c) { max = a; } else { max = c; } } /* Outer Else */ else { if(b > c) { max = b; } else { max = c; } } printf("%d is maximum", max); return 0; }
1 Resposta
+ 2
Thank you..