Respuesta :

tonb
This is best accomplished using a stack. I'm sure you can draw the flowchart yourself:

stack s
counter=10
while counter>0
    read user input n
    push n on s
    decrease counter

counter = 10
while counter>0
    pop n from s
    display n
    decrease counter