Question: 8. A programmer was writing a program, but due to some syntax error he was not able to complete it. Help him to find
8. A programmer was writing a program, but due to some syntax error he was not able to complete it. Help him to find the error and correct it, encircle any FOUR errors and write the corrected code in the given space. Correct Code Wrong Code #include void main() 1 int a,b,c; scanf("%d%d%d%d", &a,&b,&c); if(a>b AND a>c) printf("a is big"); else if(b>c); printf("b is big"); otherwise printf("c is big");
Step by Step Solution
3.38 Rating (148 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
