task 146
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int a,b,n;
a=1;
cout << "Enter n/nn = " << endl;
cin >> n;
b=n+a;
cout << (b%2==0 ? "Сумма номеров всех квартир чётное число:" : "Сумма номеров всех квартир нечётное число");
return 0;
}INFO