Can you please check where problem is coming

please share ur approach ???
image
what preproccessing are u doing ?? before taking i/p

making an array to store letters with index being their sequence number

image
this line is causing the mistake


even u are taking n which is not in the i/p
format

i cannot understand what u are trying to do

the approach is simple to the question

take string input
then extract each digit by doing digit = str[i] - ‘0’
in an temprary string add the alphabet that occur at digit position
recur to the next position
when the base condition is hit print that string

also since 2 digit number also form alphabets
u can do something like
image

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.