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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!