Mga Pahina

Miyerkules, Enero 23, 2013

C++ ADD EVEN

#include<iostream.h>
#include<conio.h>
void main(){
clrscr();
int num;
cout<<"Enter :";
cin>>num;
if(num%2==0)
{
cout<<"even #";
}
else
{
cout<<"odd #";
}
getch();
}

Walang komento:

Mag-post ng isang Komento