Answer to Question #3339 in C++ for mukunda
Write a program to check the given number is even or odd.
using namespace std;
cout << "Please enter a number: ";
cin >> number;
if (number % 2 == 0)
& cout << "The number is even." << endl;
& cout << "The number is odd." << endl;