If statement in c language.

#include<stdio.h>
#include<conio.h>
  void main()
 {
 int i;
 printf("enter the value of i=");
 scanf("%d",&i);
 if(i==5)
 {
  printf("you  have entered 5.");
 }
  getch();
}

■》Output->

enter the value of i=5
you entered 5.

Comments

Popular posts from this blog

Introduction of java Programming language.

Stack data structure.