Question: C programming, Need help. Your program must present the following options: 0) Exit - Exits the program 1) Author Info - Prints author information (ID
C programming, Need help.
Your program must present the following options: 0) Exit - Exits the program 1) Author Info - Prints author information (ID and name, as well as the username entered for the program) 2) Enter int - Enters an integer value for storage 3) Enter doubles - Enters a double value for storage 4) Clear values - Clears entered values 5) Print values - Prints entered values 6) Sum Integers - Sums all entered integers 7) Sum doubles - Sums all entered doubles 8) Save Data - Asks the user to enter a filename, then saves stored data so that it can be loaded later 9) Load Data - Asks the user to enter a filenaname that is loaded to restore a saved state.
Consider load/save to be load game, save game states, you don't need to include username in the program state, just the numeric valeus.
If the program data can't be loaded for some reason (file not found or not enough storage space) the program should reset to an empty state for both integers and doubles.
provide.c contains the code for the project without the file operations, you can choose to edit this file as you see fit, or ignore it completely.
Your program must also keep a log of all function calls/menu options chosen, program start, and program exit. When a log entry is made it should be made to the file ex7.log in the default working directory and include: Your name, your id, and the reason for the entry It should also persist all log entries across multiple runs of the program (don't delete old log entries)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
