Topic: Stack Problem / Level: beginner

Problem: Implement a function to push the squares of numbers from an array into a stack.

Run the code to see the output here...