Răspuns:
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
int a,b,c;
cin>>a>>b>>c;
if (a%2==0) cout<<a<<" par ";
else cout<<a<<" impar ";
if (b%2==0) cout<<b<<" par ";
else cout<<b<<" impar ";
if (c%2==0) cout<<c<<" par ";
else cout<<c<<" impar ";
return 0;
}
Explicație: