#include #include using namespace std; int main () { string name; char resp; cout << "Enter your Name: " ; cin >> name; cout << "You Entered " << name << " as your name" << endl; cout << "Is this correct? (y,n): " ; cin >> resp; if (('y' == resp) || ('Y' == resp) || (resp == 'n') || (resp == 'N')) { cout << "At least you can answer questions" << endl; if (( resp == 'y') || (resp == 'Y') ) { cout << "Congratulations, you can type " << endl; } else { cout << "Learn how to type" << endl; cout << "Enter your Name: " ; cin >> name; } } else { cout << "Learn to read, I ask for a Y or an N" << endl; } cout << "Exiting the Program." << endl; }