- The Program reads data from two files "ACCOUNTS.txt" and "TRANSACTIONS.txt"
- Parses the data as list of list of string.
- Than we Tag the data from "TRANSACTIONS.txt" either being 'Payment or 'Purchase.
- If its Payment than we add a anothet tag to the data either 'Credit, 'Debit, 'Cash, Check.
- We filter the data from "TRANSACTIONS.txt" according to the account number of each user.
- Program sorts the transactions of each account based on the timeStap
- THan we print all the data to the "STATEMENT.txt".
- All the statements are printed in desending order.
- If payment method is anything other than 'Credit, 'Debit, 'Cash, Check it prints invalid transaction.
- In print funcation we have seprate condition for printing 'Credit, 'Debit, 'Cash, Check so they can be expanded easily for more funcationality.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|