This assignment is to read from an input file and process thedata for a group of people. Your program calculates the interestand print the details to the monitor, refer to the sample below.Terminate the program when the end of file is reached. In thisassignment there is no need to verify data.
Write a C++ program that accepts an amount of money on deposit anda number of years it has been on deposit. It will determine theinterest to be paid on the deposit based on the followingschedule:
Time onDeposit Interest Rate
>= 5years 4.5%
Less than 5 and >=4years 4%
Less than 4 and >=3years 3.5%
OR
OR