Răspuns:
#include <iostream>
using namespace std;
int ionel, mihai;
int main()
{
cin >> ionel >> mihai;
if ( ionel > mihai)
cout << "Ionel este mai mare cu " << ionel - mihai << " ani";
else
cout << "Mihai este mai mare cu"<<mihai - ionel<<" ani";
return 0;
}