🟢 Վարժություն 11

Գրել ծրագիր, որը մուտքում ստանում է ամբողջ տիպի երկնիշ թիվ և էկրանին կարտածի “yes”, եթե այդ թվի երկու թվանշաններն էլ զույգ են, հակառակ դեպքում` “no”։
#include <iostream>
int main() {
    int in;
    std::cin >> in;
    // Put your code here
    if (/* Put your code here*/ ) {
        std::cout<<"yes";
    }
    else {
        std::cout<<"no";
    }
}
 

Constraints

Time limit: 0.2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue