Проверка на чётное число

PHOTO EMBED

Tue Apr 26 2022 12:24:15 GMT+0000 (Coordinated Universal Time)

Saved by @Gringi #c++

#include <iostream> 

using std::cout;
using std::cin;
using std::endl;
 
int main() 
{   
  int number; 
 
  cout << "Введите число " << endl; 
  cin >> number; 
 
  if( number % 2 == 0) 
    cout << "Чётное " << endl; 
  else 
    cout << "Нечётное " << endl; 
}
content_copyCOPY

Напишите программу, которая проверяет, чётное ли число ввел пользователь