#include
#include
void main()
{
int
n,i,d=0;
cout<<"enter a number: "<
cin>>n;
d=n;
for(i=0;i
{
d=d-2;
}
if(d==0)
cout<<"No. is
even";
else
cout<<"No. is
odd";
getch();
}
No comments:
Post a Comment