| sequential search worksheet #1 | Name - |
| Day of Week - |
Printout the demo program named "sequential search finding max value".
Write your name and the day of the week that you have class in the upper-right corner.
In the upper-left corner, write the title "sequential search worksheet #1".
In the right-margin, make columns for the variables i and maxValue.
Ignore the loop which stores random numbers in the array named numbers. Instead assume that the array is declared an initialized with the declaration statement
int numbers[] = {12, 3, 50, 63, 38};
Trace the program and show the values of i and maxValue in the corresponding columns.
Put single slashes through old values stored in those variables and circle the final numbers that they store.
Bring this completed worksheet to the final exam. It will be collected as an optional extra credit assignment.