d

fdss
Last edited on
You have essentially:
1
2
3
char res;
cin >> res;
if (res == 'yes')

Doesn't your compiler warn about something in the line 3?


PS. Please use the code tags.
Topic archived. No new replies allowed.