What's wrong with the code?

What’s wrong with the code?

@priyamthakuria27 you have to print in reverse order

i don’t understand.
please tell me in this code : https://ide.codingblocks.com/s/284524

@priyamthakuria27 corrected