Topic: Stack Problem / Level: beginner

Problem: Implement a function to find the sum of all elements in a stack without using loops.

Run the code to see the output here...