Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
|
|
|
circle one:
|
circle one:
|
circle one:
|
|
| output: |
~/$ ./hw N = 5 10 5 20 15 25 cmd: show [0] ********** [1] ***** [2] ******************** [3] *************** [4] ************************* cmd: swap 0 1 cmd: show [0] ***** [1] ********** [2] ******************** [3] *************** [4] ************************* cmd: swap 2 3 cmd: show [0] ***** [1] ********** [2] *************** [3] ******************** [4] ************************* cmd: reverse cmd: show [0] ************************* [1] ******************** [2] *************** [3] ********** [4] ***** cmd: quit |
The program processes various commands:
Requirement.
Turn In the codeprint of your source code. Submit: ~/bin/submit -c=IC210 -p=hw20 hw.cpp |