RequirementsSuppose that there is a stack of integer numbers, which initially empty. Write a program that do thefollowing actions depend on the following order with C++ language
Program interface:
Phase 6: Split the stack into 2 stacks, where the first stack (the original stack) will has all integer thatequal or grater than 0, and the second stack will has the rest of integer number (less than 0).Phase 7: Sort element in stack, you have ask user which type of sorting he/she want (i.e. ascending ordefending order); in this phase you have to sort both stacks (first and second) if you have.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here