Name: ____________________________________________________ Alpha: _________
Section: ____________
Describe help received: _________________________________________________________________
See the bottom for how to submit your work.
Due: Before 0800 on next class day
|
|
control_point_1. The diagram should look similar to what's in the
notes except that you can omit the code. That is, you need to describe:
~/$ ./hw N = 5 Numbers: 10 5 20 15 25 cmd: show [0] ********** [1] ***** [2] ******************** [3] *************** [4] ************************* cmd: swap 0 1 [0] ***** [1] ********** [2] ******************** [3] *************** [4] ************************* cmd: swap 2 3 [0] ***** [1] ********** [2] *************** [3] ******************** [4] ************************* cmd: quit
|
The program reads a size N and N integers from the user and processes the following commands:
Requirement.
|
Submit to the submission server (due: 0800 on the next class day)
~/bin/submit -c=IC210 -p=hw22 hw.cppBring to class