hi! assuming you're using C++, try declaring a string variable and then outputting that variable.
ex]
string username;
cout << "Enter your name: ";
cin >> username: //this is where the user inputs their name
cout << endl << "Hi " << username << endl;