Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Input Handling: Implement functionality to read user inputs for transaction details, including type of transaction ( income or expenses ) , amount, category,
Input Handling:
Implement functionality to read user inputs for transaction details, including type of transaction income or expenses amount, category, date, and associated account.
Users should have the option to select transaction categories from a predefined list and also add new categories to this list.
Utilize the input function for interactive inputs or opt for file reading eg CSV for batch inputs.
Users should have the option to select the type of account associated with the transaction record, including options such as "savings account," "checking account," or "credit card."
Users should be able to input the transaction date when recording their transactions.
Example of User Inputs:
For each transaction, the user should provide:
Type: 'Income' or 'Expense' Indicates whether the transaction is adding to or subtracting from the user's funds.
Amount: A numerical value representing the amount of the transaction. For example, for an income of $ or for an expense of $
Category: A string representing the category of the transaction. For example, 'Salary', 'Groceries', 'Utilities'.
Date: The date of the transaction in a recognized format, such as YYYYMMDD
Account: A string representing the account involved in the transaction, like 'Checking', 'Savings', 'Credit Card'.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started