I have a problem in C++.My problem is how to push random number to a stack.
It is to generate 20 random numbers and push it to the stack and pop it from the stack when it's needed.
It is to generate 20 random numbers and push it to the stack and pop it from the stack when it's needed.
Comment