Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
C programing help
Your program should offer the following menu to the user:
1) Print Author name and ID
2) Enter integer value
3) Enter floating point value
4) Print stored values
5) Clear integers
6) Clear floating points
7) Save data
8) Load data
Where each option does the following:
1 Print your name and id
2 Prompts the user to enter an integer value, you then store this value in memory (program should handle up to 500 values)
3 Prompts the user to enter a floating point value, you then store this value in memory (program should handle up to 500 values)
4 Prints out all of the stored values (more on this later)
5) Clears stored integers
6) Clears stored floating point values
7) Saves the current stored values to a file (file name specified by the user)
8) Sets the current stored values to the data stored in a file (file name specified by user)
Also: your program should note that the application has started, and keep a running log of any errors (attempts to open files that fail and invalid
When a log entry is made you should print your student id, followed by an error message describing the problem.
These log entries should be saved to a file called "log.txt" and theh program should never cause the program to erase previous entries.
So if you open the program, make an invalid selection, close the program, open it again then your log should contain the following info:
How you can accomplish not deleting the file when you open it was not discussed in class, however, should be easy to figure out what to do using google
hint: the solution is very easy, if whatever solution you find takes more than 1 second to implement, it's probably not what you want.
For option 4, you should print your data on two lines with the following prefix values:
"Floating Points: "
For option 8, your program needs to be able to load files that your program generated with option 7, it does not need to be able to load files from other students