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; }

14th Sep 2021, 3:50 AM
B2A CLASSES
B2A CLASSES - avatar
1 ответ
+ 2
Thank you..
14th Sep 2021, 4:15 AM
B2A CLASSES
B2A CLASSES - avatar