Why is my code not working, please tell me the logic to approach boston number also please help me with why this code is not working

Hi Arya… I have made a few changes in ur code… https://ide.codingblocks.com/s/609230
it should work fine now…

hello, the code is working now for most of the test cases, it is still failing two of them. can you please help?

hi… can u tell what error is it showing for the remaining test cases…
okay try this https://ide.codingblocks.com/s/19114
it should work

1 Like

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.

1 Like