Name: ____________________________________________________ Alpha:
_____________ Section: ________
Describe help received: _________________________________________________________________
See the bottom for how to submit your work.
Due: Before 0800 on next class day
|
|
~/$ ./hw What size? 2 x 3 1 8 0 4 7 7 rows: 0 1 cols: 1 |
In particular:
Here are some more example runs. Your program must read input and produce output with the exact same formatting! The red text represents the user input.
~/$ ./hw What size? 1 x 1 6 rows: 0 cols: 0 | ~/$ ./hw What size? 1 x 1 5 rows: cols: | ~/$ ./hw What size? 3 x 3 6 9 5 4 6 8 9 4 14 rows: 1 2 cols: 2 |
~/$ ./hw What size? 5 x 3 3 4 1 6 2 3 2 4 5 1 3 2 3 2 4 rows: 3 4 cols: 0 1 2 |
~/$ ./hw What size? 3 x 5 3 6 2 1 3 4 2 4 3 2 1 3 5 2 4 rows: 0 1 2 cols: 3 4 |
Submit to the submission server (due: 0800 on the next class day)
~/bin/submit -c=IC210 -p=hw23 hw.cppBring to class