Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN C ONLY PLEASE. Write a program to get 10 numbers from a file and puts them in an array, you should then average the
IN C ONLY PLEASE. Write a program to get 10 numbers from a file and puts them in an array, you should then average the 10 grades and output the average. You should then write the average back into the file at the bottom of the numbers.
Write a program to get 10 numbers from a file and puts them in an array, you should then average the 10 grades and output the average. You should then write the average back into the file at the bottom of the numbers. Specifications: The input must be read in a function called read_file(). The output should be done in a function called out_file(). The user should be able to continue run the program until the enter the letter Q. All input and averaging of the numbers must be done using a loop. Upload a screen shot of the code and the running program, the code, and the file after being writtenStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started