Topic: Stack Problem / Level: beginner

Problem: Write a program to push the elements of a string into a stack and reverse every second word.

Run the code to see the output here...