program to find even or odd number


#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter a value which you want to check=");
scanf("%d",&a);
if(a%2==0)
{
printf("a is even");
}
else
{
printf("a is odd");
}
getch();
}

Comments

Popular posts from this blog

how to use camera in android studio| code

BOOT YOUR PHONE IN RECOVERY MOOD- HARDRESET

How to hack wifi password-2017