#include
using namespace std;
int main()
{
int x, y;
cout << "x = ", cin >> x, cout << "\n";<br> cout << "y = ", cin >> y, cout << "\n";<br> if ((x/10 > y/10)&&(x%10 > y%10)) cout << "Yes" << "\n";<br> else cout << "No" << "\n";<br> return 0;
}
Пример:
x = 25
y = 14
Yes