Mentioning cin twice

We have already mentioned cin/cin.get before the loop starts. What is the need to mention it again at the end of the loop?

this is because we have to take input multiple times

if we take input only once (outside the loop) then
while loop entry condition is always true

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.