Code not working

i am trying the same code in my pc but it is showing compiler error

hello @professor
pls save ur code here and share the link with me.

it is working fine on cb ide.

probably ur local ide is not updated.
update it and then try

yes but in code blocks it is showing error

. …

okay thanks i will try

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.