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

My do while loop isn't working and I'm not sure what iswrong with it? It keeps looping even tho I am entering the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!