consecutive.cpp

Final Version Performs as specified