Why its showing the error in cin

its showing the error in line 5. I’m just taking the input, why its showing me the error when I had already imported all the header file.

provide code link using ide

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.