Doubt in update condition

how will the last statement in while loop update the character ch

line 21: ch=cin.get()

Hi
I could not find this statement in the content attached.
So, ch=cin.get() is basically syntax to read character. You can also use cin>>ch; instead of this
Is this what you are trying to ask?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.