Topic: Stack Problem / Level: beginner

Problem: Write a program to push all negative elements from an array into a stack.

Run the code to see the output here...