Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Program-3-CS-353

  • 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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages