Question: My do while loop isn't working and I'm not sure what is wrong with it? It keeps looping even tho I am entering the correct
My do while loop isn't working and I'm not sure what is wrong with it? It keeps looping even tho I am entering the correct character. also, if Y or y are entered, I need my whole program to loop which is what the while loop for the Y and y is trying to be. its the end of a do while loop


Total crates volume... Total storage room volume. Do you want to continue? (Y/y/N) ..212.6 ..1003054.0 [**y Error: Invalid entry. Please try again. Do you want to continue? (Y/y/N) [**y Error: Invalid entry. Please try again. Do you want to continue? (Y/y/N) [**n Error: Invalid entry. Please try again. Do you want to continue? (Y/y/N) ** do { // beginning of do...while loop cout> yesno; if (yesno != 'Y' || yesno != 'y' || yesno != 'N' || yesno != 'n') cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
