C++ Program to find odd or even using If Else statement

Program

#include <iostream>
using namespace std;
int main()
{
    int number;
    cout << "Enter a number\t";
    cin >> number;
    if ( number % 2 == 0 )
    	cout << number << " is even" << endl;
    else
    	cout << number << " is odd" << endl;
    return 0;
}

Output 1

Enter a number	6
6 is even

Output 2

Enter a number	21
21 is odd