Why this is giving one case wrong?

this is question
https://hack.codingblocks.com/app/practice/3/1275/problem

this is my code

Hey @dhruvilcodes
Debug for

23 5

1 Like

Here this is the problem

 for(j=0;j<count;j++)
 {
 	mul=z[j]*a+vadi;//added here
 	z[j]=mul%10;//+vadi removed
 	vadi=mul/10;
 }
1 Like

thank you!!!

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.