0% found this document useful (0 votes)
0 views1 page

Example

The document contains a C program that compares two integers, 'a' and 'b'. If 'a' is less than 'b', it incorrectly prints that 'a is bigger than b'. The program has syntax errors in the else statement that need to be corrected.

Uploaded by

ahmaddibwaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views1 page

Example

The document contains a C program that compares two integers, 'a' and 'b'. If 'a' is less than 'b', it incorrectly prints that 'a is bigger than b'. The program has syntax errors in the else statement that need to be corrected.

Uploaded by

ahmaddibwaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

#include<stdio.

h>

int main(){

int a = 10;
int b = 20;

if(a < b){

printf("a is bigger than b");


}
else(
printf("b is bigger than a");
)
}

You might also like