Herbert Carinote
This blog is my collection of computer tricks : )
Mga Pahina
(Ilipat sa ...)
Home
ABOUT ME
▼
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
‹
›
Home
Tingnan ang bersyon ng web
Walang komento:
Mag-post ng isang Komento