Allow the user to enter multiple sets of five numbers. Store the numbers in a binary file.

Question:

Allow the user to enter multiple sets of five numbers. Store the numbers in a binary file. For each set of values, calculate and store the average of the numbers prior to retrieving the next set of values. For example, if the user entered 27 78 120 111 67 as the first set of values, the first values written to the binary file would be 27 78 120 111 67 80.6. For an extra challenge, close the file, reopen it, and display the values from the file in a listbox control.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: