Rectify these doubts please

Q1> how to avoid case containing zero : 12303

Q2> is there any problem in printing the output?

code : https://ide.codingblocks.com/s/263648

@sourabhsh55

  1. to handle cases containing zero, you can simply go to the next iteration if your current character is zero. If the zero was part of something like “2110”, then the “10” case would already be covered.
  2. The problem with printing the output is that you will not be able to format the output according to the question (there will be an extra comma after the last code, that is not there in the sample output.) If you can find a work-around for this problem, then sure you can directly print the output when you hit the base case.

Pleae mark your doubt as resolved in case of no further queries.

I have corrected the above two problems!
But still getting the WA
plz tell me the mistakes in the code
code : https://ide.codingblocks.com/s/263648

@sourabhsh55 look at the output format, it is completely different.

[aabe, aay, ale, kbe, ky]
You have to print lowercase letters, enclosed by square brackets.

AABE,AAY,ALE,KBE,KY
You are printing uppercase letters without any square brackets.