Back To C Flow of Control Index
//program to demonstrate if statement example 6 , check whether number is not equal to 10 #include
#include
void main() { int a; clrscr(); printf("enter value for a"); scanf("%d",&a); if(a!=10) { printf("a is not equal to 10"); } getch(); }