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

Layout design in Android Studio

How to hack wifi password-2017

how to use camera in android studio| code