Cod sursa(job #2605358)
Utilizator | Data | 24 aprilie 2020 19:50:55 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
int main()
{
int n;
std::cin>>n;
if(n%2==0){
std::cout<<n<<" este par"<<std::endl;
}else{ std::cout<<n<<" este impar"<<std::endl;
}
return 0;
}