286 Part II Programming Fundamentals
- Save your changes to disk.
Tip On the companion CD, I gave this project a separate name to keep it distinct from
the Fixed Array project. The complete Dynamic Array project is located in the C:\Vb10sbs\
Chap11\Dynamic Array folder.
- Click the Start Debugging button to run the program.
- Click the Enter Temps button.
- Type 5 when you’re prompted for the number of days you want to record, and then
click OK. - Enter five temperatures when prompted.
- When you’ve finished entering temperatures, click the Display Temps button.
The program displays the five temperatures on the form, along with their average.
Your screen looks similar to the following screen shot:
- Click the Close button on the form to end the program.