Topic: Stack Problem / Level: beginner

Problem: Implement a function to push elements into a stack and pop elements until an odd number is encountered.

Run the code to see the output here...