Topic: Stack Problem / Level: beginner

Problem: Write a program to print all elements of a stack without using recursion.

Run the code to see the output here...