Hack the Planet!

Test your C++ programming skills by solving the given puzzle on the working of the stack.

Puzzle code

Carefully read the code given below:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.