Pastebin
Paste #9270: two nnumbers
< previous paste - next paste>
Pasted by shroop
#include <iostream> using namespace std; int main() { int n; cout << "Enter an integer: "; cin >> n; if ( n % 2 == 0) cout << n << " is even."; else cout << n << " is odd."; return 0; }
New Paste
Go to most recent paste.