C programming If else statements use
//If else statements use
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a;
printf("enter the value of a\n");
scanf("%d",&a);
if(a%2==0)
{
printf("Hello world!\n");
}
return 0;
}
//If else statements use
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a;
printf("enter the value of a\n");
scanf("%d",&a);
if(a%2==0)
{
printf("Hello world!\n");
}
return 0;
}
Comments
Post a Comment