Sorry to bother with this. This is a basic function, but I am still new the whole realm of C++. I am trying to allow any form of the word "hello". I want the program to allow input any form of hello, no matter how the user inputs the word (i.e. capitalized, lowercase or mixed). Feel free to critique, I am just trying to learn. :)
int instructions()
{
string intro;
do
{
cout << "Greet me with 'hello' to continue: " << intro;
cin >> intro;
} while (intro != "hello");
cout << "Welcome! What shall I call you? ";
cin >> name;
cout << "\nHello " << name << "! ";
return 0;
}