Using cin again two times for a single stream of char

why we are using cin both inside and outside of the loop ?
outside loopit takes only one char what is the need to use it ouside the loop ?

@Raghavsingla522 hey loop ke bhar cin islie lia hai kyunki ek bar input lene ke bad hi while ke pass condition check krne ka mauka hoga,agr hmare variable ki koi input hi nhi hui ek bar bhi to woh while loop ke andr jayega hi nhi aur age input nhi le payenge hm.So hmne ek bar bhar input lia loop ke fir woh check hoga in while condition fir age ke input lie jayenge in while loop.

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.