All the test cases are passed except the first one.
Plzz help
https://ide.codingblocks.com/s/138262
Chewbecca and Number Challenge
you mean I should start my for loop from i=1??
@prashantverma.vn hey prashant
Start it like i=0
If arr[0]==‘9’ skip it
For(;a[i]!="\0";i++)
Do your task here.
1 Like
I got it , all test cases passed.
Thank You…
What was the purpose of doing this??
@prashantverma.vn hey prashant the motto of doing this is to skip the first element which is 9 that’s it.
1 Like