Whats wrong with this loop?
I cant proceed with the program even when S or R is input.
I can exit if I take the || out but I need to repeat untill I get a R or a S.
Code:do { printf ("Enter R for Required or S for Suggested: "); while (getchar() != '\n'); reqOrSugg = getchar(); printf ("You entered %c\n", reqOrSugg); } while (reqOrSugg != 'R' || 'S');