Program to track and manage your money transactions

Assignment Help C/C++ Programming
Reference no: EM132069863

Someone has given you a lot of money and you are having a hard time explaining to them where did all your money go. In the advanced portfolio, you will write a program to track and manage your money transactions. We will call each money transaction an "Expense" which contains information about the date, amount, and description of the money transaction.

The program will have a menu drive interface for the user to perform the following tasks:

1. Add a new Expense by entering the date, amount, and description of the Expense.
2. Print a report of all Expenses
3. Import data from a text file by prompting the user to enter the location of the file
4. Export data to a text file by prompting the user to enter the location of the file
5. Remove an existing Expense by prompting the user to enter the index number of the Expense to remove
6. Update an existing Expense by prompting the user to enter the index of the Expense to edit and then prompting the user to enter the new date, amount, and description.
7. Sort the list of all Expense descending by the date

Instructions

1. Create a new Console application. In your Console application, create a new class named Expense and write the code to implement the UML class diagram shown below. You can implement the properties of the class as either fully-implemented properties or auto-implement properties. In the default constructor set the date to the current date. You must implement all the properties and methods

Expense
+ date : DateTime
+ amount : decimal
+ description : string
+Expense() :
+Expense(date: datetime, amount: decimal, description: string) :

2. In your Console application, create a new class named ExpenseManager and write the code to implement the UML class diagram shown below. The ExpenseManager is for managing the list of Expense in your application. The expenseList field contains the "data" (a list of Expense) for the program. The Count read only property returns the size of expenseList. You must implement all the properties and methods

ExpenseManager
- expenseList : List<Expense> = new List<Expense>()
+ Count : int {READONLY}
+ ExpenseManager() :
+ AddExpense(currentExpense: Expense) : void
+ PrintReport() : void
+ ImportData(filePath: String) : bool
+ ExportData(filePath: String) : bool
+ RemoveExpenseAt(index: int) : bool
+ TotalAmount() : decimal
+ GetExpenseAt(index: int) : Expense
+ SortByDateDescending() : void
+ UpdateExpense(index:int, expense: Expense) : bool

3. Write a menu driven interface for your program as attached below. It must handle all invalid inputs (including those not depicted here).

4. Write the code to implement the "New Expense" menu option as shown in the sample run below. The date format required is a sample only. You can use the same format as the sample or define your own format.

New Expense sample run

5. Write the code to implement the "View Expense Report" menu option as shown in the sample run attached.

6. Write the code to implement the "Remove Expense" menu option as shown in the sample runs attached.

7. Write the code to implement the "Edit Expense" menu option as shown in the sample run attached.

8. Write the code to implement the "Import Data" menu option as shown in the sample run below. For each Expense in expenseList, write the date, amount, and description of the Expense on a single line and separate each field with a delimiter of your choice.

9. Write the code to implement the "Export Data" menu option as shown in the sample run below. You can assume that each line contains the date, amount, and description for a single Expense.

10. Write the code to implement the "Sort the data descending the date" menu option as shown in the sample run.

Attachment:- AdvanceCore.rar

Verified Expert

This is assignment is regarding Expense Management. In this System Expense are managed by user. User can perform following tasks Add New Expense,Print Expense Report, Remove Expense,Edit Expense, Import Expense Export Expense, Sort Expense by Report

Reference no: EM132069863

Questions Cloud

Develop and evaluate key performance indicators : Analyse actual statistics against what planned objectives. Develop and evaluate Key Performance Indicators (KPI's)
Changing consumer needs : In last week's Key Concept Exercise, you explored how other academic disciplines can inform marketing efforts.
Develop a proposal addressing vein illuminator : Develop a proposal of 4 to 6 pages addressing AV400 Vein Illuminator from AccuVein, the state of its industry, and details of its market.
Healthcare facility by incorporating work : In this assignment you will finalize your plan for the proposed healthcare facility by incorporating your work from Weeks 1 through 4 along with new content
Program to track and manage your money transactions : Write a program to track and manage your money transactions. We will call each money transaction an "Expense" which contains information about the date, amount
Did the magazine make an impact on popular culture : Analyze one of the required readings from this week, but only one of the articles from the 1970's.
Strategy paper that a business organizational leader : For this assignment, you will provide a comprehensive optimization strategy paper that a business organizational leader should consider when improving pricing
Research and write about a popular television show : Research and write about a popular television show from the 1970's, which reflected the changing role of women in American culture.
Summarizing original scientific studies on the topic : You will write at least six full double-spaced pages summarizing original scientific studies on the topic you chose.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd