even and odd numbers
Sure! Here is a response without your personal words and sentences at the beginning and end of your reply.
#include <iostream>
using namespace std;
int main() {
int number;
cout << "Enter an integer: ";
cin >> number;
if (number % 2 == 0) {
cout << number << " is even.";
} else {
cout << number << " is odd.";
}
return 0;
}