Question: C++ I was given the following code with questions regarding writing a while loop to check for integer only inputs from the user. I've tried
C++
I was given the following code with questions regarding writing a while loop to check for integer only inputs from the user.
I've tried implementing this idea into my code but it doesn't seem to want to accept the input after fail case.
I don't understand the code line in line 8 and before as well as line 16 and before, assuming that is where my function is going wrong.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
