Regarding the stack

i am sending the code it is not working pls mention the errors and help me.

Hey @ssmit_joshi
What issue are u facing ?

when i am entering more than one element output is coming only one element

I mentioned the correction in previous reply.