using namespace std;
int main ()
{ int integer;
cout << "Please enter an integer"
<< endl;
cin >> integer;
if ( integer % 2== 0 )
cout << integer << " is even "
<<endl;
else
cout << integer << " is odd "
<<endl;
system ("pause");
return 0;
}
Dreaming in Digital, Living in Realtime, Thinking in Binary, Talking in IP. WELCOME TO OUR WORLD.
Flash Labels by Way2Hack
Coolstuff Designed by Somesh Chaudhary © 2013 All Rights Reserved.