Could some one give me a yes or no example. But with y and n. Also could you add something to make it where case doesn't matter (if you want to)? Something like-
I appologize as I do not know the usage of a if statement in C++.Code:cout << "Again?: ";
cin >> again;
if again = "y"
cout << "\nYou said yes.";
if again = "n"
cout << "\nYou said no.";
else
cout << "\nNot a valid option.";