Https://ide.codingblocks.com/s/463008

My code is not giving correct output what’s wrong in it as in the tutorial it is giving 8 and my output is 6

hello @nitinchoudhary260

check now->

Yes It is working now

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.