Write a C++ program PEX3.cpp that reads a sequence of 20 integers, pushing all of the even integers onto one stack and all the odd integers onto the other. Output the contents of each stack by popping elements until its empty. Remember to use the ArrayStack implementation of the stack in the book.
PEX3.cpp;
StackA.cpp;
StackA.h;
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment