This preview shows page 1. Sign up to view the full content.
Unformatted text preview: I would recommend doing this in two phases, as in Lab 17: 1. First just worry about sorting the array of speeds. Don't concern yourself with getting sorting the parallel arrays (the day numbers/dates). [Solving this part of the problem alone will earn you up to 16 points on the lab. It's the bulk of the thinking.] 2. Once you get the speeds sorted, then sort the day numbers/dates in the parallel array. Hint : you don't need any more loops or if statements to do this. The output should look the same as in Lab 17, except that the speeds are sorted. Lab Report Contents Code At least 2 sample runs...
View Full Document
This document was uploaded on 02/10/2011.
- Fall '10