Advance keypad 1

https://online.codingblocks.com/player/10147/content/4740?s=1639

my code :https://ide.codingblocks.com/s/45787 one wrong answer 1 passed

Hey Anshu, your code is working for some of the corner cases. For eg. check for this one
input: 409
your code’s output:
gw
gx
gy
gz
g w
g x
g y
g z
hw
hx
hy
hz
h w
h x
h y
h z
iw
ix
iy
iz
i w
i x
i y
i z

but the correct output should be
g w
g x
g y
g z
h w
h x
h y
h z
i w
i x
i y
i z

i corrected it but still its not working
https://ide.codingblocks.com/s/45787

Hey Anshu, the test case mentioned above is not corrected in your code, output is not printing any space between the characters, check it once again.

yep i corrected it thanks small mistake :smile: