Topic: Stack Problem / Level: beginner

Problem: Write a program to push elements from an array into a stack and remove elements greater than a given threshold.

Run the code to see the output here...