501,021 views
6 votes
6 votes
For this assignment, you will create a file, write information to the file, retrieve information from that file, and do calculations of the information from the file.

Make sure to comment code and use functions to break the problem up into manageable pieces.

Assignments
1. Open a Numbers.txt file. Write the numbers from 0 to 100 to the file.
2. Read the file Numbers.txt and find the sum, average, and median of all the numbers.
3. Output the results to the screen in a user-friendly format.
4. Make sure to ask the user for all the paths.

**C++ ONLY**

User Rob Walker
by
2.9k points

1 Answer

29 votes
29 votes

Answer:

Why only c bro

User Peanuts
by
2.4k points