#include <iostream>
using namespace std;


int main() {

    string name_1 = "Mark";
    string name_2 = "Mary";

    if (name_1 > name_2)
    {
        cout << name_1 ;
    }    
    else
    {
        cout << name_2 ;
    }    

    return 0;
}

Embed on website

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