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, 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.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: