C program to check 9 is less than 10

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

990

Program:

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

Output:

a=9 is less than 10
Press any key to continue . . .

Explanation:

In this c program you have learned that, how to use less than operator. Also you have learned how to use less than operator inside a if condition.


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.