Read Table Several Numbers Reaching Eof Place Values Array Use Values Array Calculate Aver Q37245724

Read from a table Several numbers until reaching EOF,

PLace those values into an array

Use the values in the array to calculate the averageCreate a program to read a file [scores.dat] with the numbers 10. Place the numbers into an array scores[10]. Used the fille

Create a program to read a file [scores.dat] with the numbers 10. Place the numbers into an array ‘scores[10]. Used the filled array ‘scores(x] to calculate the average of those 10 numbers. Show a table with the numbers from the array and the calculate average. Save the scores and the average to a

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.