#include <iostream>
#include <string>
usingnamespace std;
int main()
{
string ans;
char name[50];
cout << "hello what is your name\n" << endl;
cin >> name;
cout << "nice to meet your " << name << endl;
cout << "how is your day " << name << endl;
cin >> ans;
if (ans.equals("good"))
{
cout << "thats good" << endl;
}
else
{
cout << "thats bad" << endl;
}
return 0;
}
//should run like...
//hello what is your name
//kyle
//nice to meet your kyle
//how was your day kyle
//good
//thats good
//or...
//hello what is your name
//kyle
//nice to meet your kyle
//how was your day kyle
//bad
//thats bad