Question: Please use printf() and scanf() Your program should offer the following menu to the user 1) Print Author name and ID Enter integer value 2)

Please use printf() and scanf()  Please use printf() and scanf() Your program should offer the following
menu to the user 1) Print Author name and ID Enter integer

Your program should offer the following menu to the user 1) Print Author name and ID Enter integer value 2) 3) Enter floating point value 4) Print stored values clear integers 5) clear floating points 6) 7) Save data 8) Load data. Exit 0) 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 selections chosen When a log entry is made you should print your student id followed by an error message describing 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: program started invalid selection program started

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!