if- else 12 is greater than 10 or not ??

C Programming Language Decision Making of C Language (Article) Decision Making of C Language (Program)

23831

Program:

 #include"stdio.h"
void main()
{
int a=12;
  if(a<10)
  {
  printf("a is less than 10 \n");
  }
  else
  {
   printf("a=12 is greater than 10 \n");
  }
 
} 

Output:

a=12 is greater than 10
Press any key to continue . . .

This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.