Fails for test case 0


here is the code

For input 10
your code output
.
.
+
+
@
@

Correct Output
.
+
@
$

remove these 2 lines from your code

    // if(digit==0)
    // keypad(a,s,i+1,out,j);

after that your code will passe all testcase

@gurkirat2600
if you want to ask something feel free to ask
otherwise
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.