Topic: Stack Problem / Level: beginner

Problem: Write a program to push numbers into a stack and pop them until the sum of the popped elements is divisible by 5.

Run the code to see the output here...