Question: Allow the user to enter multiple sets of five numbers. Store the numbers in a binary file. For each set of values, store the average
Allow the user to enter multiple sets of five numbers. Store the numbers in a binary file. For each set of values, store the average of the numbers prior to storing 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
