Question: C++ code Problem Statement: Read the given input file which represents a bank account statement for John for a given month. Each line represents a
C++ code
Problem Statement: Read the given input file which represents a bank account statement for John for a given month. Each line represents a transaction with positive values for deposit and negative for expenditure. Read all the transaction amounts given in the file and perform the following operation :
-
-
Output the following to terminal and also print them to an output file :
-
Highest value transaction of the month
-
Lowest value transaction of the month (Consider both negative and positive values)
-
Net expenditure during the entire month
-
-
Submission: Turn in a .zip file containing all the relevant files along with a screenshot of output in the terminal showing the time of the system. Input File: input.txt Notes:
-
Files should be in a runnable state
-
Please divide your classes as needed
-
Comment code wherever needed
-
Make use of operator overloading at least once throughout the code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
