#include <iostream>
using namespace std;
int main()
{
int var;
string s;
std::cout << "enter integer number\n";
std::cin >> var;
std::cout << "enter string\n";
std::cin >> s;
if (var % 2)
std::cout << s << "\n";
else
std::cout << var << " - this number is even";
;
}
Comments
Leave a comment