- Code: Select all
using namespace std;
cout << "Is Family Guy funny?" << endl;
cin >> x;
if (x == 'Yes' || x == 'yes' )
cout << "Correct!" << endl;
cout << "WRONG" << endl;
I need help with this code, im just experimenting.
The issue is that when i run the code and type yes or Yes it still returns "WRONG" instead of "Correct!", can anyone help?