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
Post a Comment