Topic: Stack Problem / Level: beginner

Problem: Write a program to push numbers into a stack and pop them until their sum exceeds a given value.

Run the code to see the output here...