Miss Natalia

(14)

$20/per page/Negotiable

About Miss Natalia

Levels Tought:
Elementary,High School,College,University

Expertise:
Accounting,Business & Finance See all
Accounting,Business & Finance,Calculus,Computer Science,Environmental science,Health & Medical Hide all
Teaching Since: Apr 2017
Last Sign in: 367 Weeks Ago, 6 Days Ago
Questions Answered: 6064
Tutorials Posted: 6070

Education

  • Doctor of Education in Educational Leadership with a Specialization in Educational Technology
    Phoniex University
    Oct-1999 - Nov-2005

Experience

  • HR Executive
    a21, Inc.
    Nov-1998 - Dec-2005

Category > Computer Science Posted 03 May 2017 My Price 10.00

Print Author name and ID

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

0)      Exit

 

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 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:

program started

invalid selection

program started

 

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.

 

 

Notes:

For option 4, you should print your data on two lines with the following prefix values:

"Integers: "

"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

Attachments:

Answers

(14)
Status NEW Posted 03 May 2017 02:05 AM My Price 10.00

Sol-----------uti-----------ons----------- fi-----------le ----------- He-----------llo----------- Si-----------r/M-----------ada-----------m -----------Tha-----------nk -----------you----------- fo-----------r y-----------our----------- in-----------ter-----------est----------- an-----------d b-----------uyi-----------ng -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------. P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I-----------

Not Rated(0)