Topic: Stack Problem / Level: beginner

Problem: Create a function to push all odd elements from an array into a stack and remove every second element.

Run the code to see the output here...