Răspuns:
#include <iostream>
using namespace std;
int main()
{
int n, ogl,dif,c;
cin >> n;
while(n!=0)
c=n%10;
ogl=ogl*10+c;
n=n/10;
}
dif=ogl-n;
cout << dif <<endl;
if(dif%2==0)
cout << "este par";
else
cout<<"nu este par";
return 0;