Hello, so when working on this problem, I should be able to enter 'q' or 'Q' to finish entering characters, but it only stops after I enter 'Q'. I thought I did the uppercase function correctly but for some reason it doesn't seem to work. Is there something I'm doing wrong? Thanks!
[Edit] : To make matters weirder 'A' and 'a' seem to work just fine when I enter them, but its only 'q' and 'b' that don't seem to register...
Thank you so much for your reply... I don't mean to be dense, but I thought vote = toupper(vote); would take care of the uppercase/lowercase problem, I changed line 15 to while (vote != 'Q' || vote != 'q') in hopes that that would be the change I needed, but it still kept asking me to continue inputting. Is there something I'm just not getting? Thank you again!
Ooooh, ok so I moved the toupper() inside the loop and changed vote != 'Q' || vote !='q' to vote != 'Q' && vote !='q' and it seems to work fine now. I apologize, I was under the impression that placing the toupper() where I did in the first place affected the entire code!