I am Novice Koder
❤
Home
Program to find whether the no is even or odd in C++
Program to find whether the no is even or odd in C++
Anonymous
April 01, 2016
#include<stdio.h>
#include<conio.h>
void main() {
int n;
printf("pls enter the value");
scanf("%d",&n);
if(n%2==0)
{
printf("no. is even");
}
else
{
printf("no. is odd);
}
getch();
}
Post a Comment
0 Comments
0 Comments