#include <iostream>
using namespace std;

int main() {
    int G, K;
    cout << " Introduce 2 números" << endl;
    cin >> G >> K;
    
    if ( G > K ) {
        cout << G << " es mayor que " << K <<endl;
    } else {
        cout << K << " es mayor que " << G << endl;
    }
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: