B4Coder

🎧 Help Desk · Mission 5 of 6

🔁 Last In, First Out

The manager wants the day's list backwards: the latest ticket first. A stack turns any order around.

Your mission

  1. Push every t.name onto a stack called pile.
  2. Then Repeat While length(pile) > 0: Pop pile into name, and Tell name.

Getting the mission ready…