Topic: Stack Problem / Level: beginner

Problem: Write a program to push the digits of a number into a stack and reverse the number if it is divisible by 5.

Run the code to see the output here...