#include <iostream>
#include <string>
using namespace std;
int main ()
{
string mystr;
cout <<"What is your name?";
getline (cin, mystr);
cout <<"Hello " << mystr << ", nice to meet you.\n";
cout <<"What is your favorite TV show?";
getline (cin, mystr);
cout <<"I like " << mystr <<" too!\n";
cout <<"How are you today?";
return 0;
}
For example, When it asks you "how are you today" How do I have it respond differently, depending on if you answer "good" or "bad"[/b]