Topic: Stack Problem / Level: beginner

Problem: Create a function to push all prime numbers from an array into a stack.

Run the code to see the output here...