J1.S.P0073-Program to manage expense.pdf - LAB211...

This preview shows page 1 - 2 out of 3 pages.

LAB211 AssignmentType:Short AssignmentCode:J1.S.P0073LOC:100Slot(s):2TitleProgram to manage expense, name Handy ExpenseBackground(Project detached from TTS)Program SpecificationsWrite a file processing program using to manage expense, named Handy ExpenseDisplay menu:1. Add an expense2. Display all expenses3. Remove an expense4. ExitSelection of users:1. If the user chooses 1, add an expense. Each expense includesID (int), date (String), number (double), content(String).Which ID is increased automatically (i.e. expense ID = last expense ID + 1), the first expense ID: 1.2. If the user chooses 2, The program displays a list of data as follows:IDDateAmount of moneyContent111-Apr-2009100Tuition fee220-Apr-2009250Rent house330-Apr-2009200FoodTotal: 5503. If the user chooses 3, prompt user to input the ID program expenses should be deleted, if non existent ID, display amessage: "Delete an expense fail".4. If the user chooses 4, exit program.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 3 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
NoProfessor
Tags
Ontology, Existence, Philosophy of life

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture