Topic: Queue Problem / Level: beginner

Problem: Write a program to convert a queue into a stack.

Run the code to see the output here...