Question: 7) Load the data file (data.txt) which is given on the next page, into an array before presenting the user with a further options menu:

 7) Load the data file (data.txt) which is given on the

7) Load the data file (data.txt) which is given on the next page, into an array before presenting the user with a further options menu: (40 Marks) a) Print out the values b) Find the maximum value c) Calculate the RMS (root mean square) d) Count the number of negative values e) Exit back to main menu Note: In this option, the C program should: Use function calls for each of the active options Display an error message if the user selects an invalid option Display an error message if the file cannot be opened Display the menu after each menu choice until the Exit option is selected. 8) Exit the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!