Question: Assignment 3 Convert a P Due: Submit the file on Canvas and on zy Books site by :59 pn on Nov. 3, 2018 Nov. 3,
Assignment 3 Convert a P Due: Submit the file on Canvas and on zy Books site by :59 pn on Nov. 3, 2018 Nov. 3, 2018 The program mwst include an Id block, and detailed algorithm as a comment block; refer to the sample output for the format. This assignment is to read from an input file and process the data for a group of people. Your program calculates the interest and print the details to the monitor, refer to the sample below. Terminate the program when the end of file is reached In this assignment there is no need to verify data Write a C+program that accepts an amount of money on deposit and a number of years it has been on deposit It will determine the interest to be paid on the deposit based on the following schedule: Time on Deposit 5 years Less than 5 and4years Less than 4 and-3 years Less than 3 and2 years Less than 2 and1 years Less than 1 year Interest Rate 4.5% 496 3.5% 2.5% 2% 1.5% The program will use the entered code to determine number of times compound interest is calculated and paid per year Code Number of times calculated 12 365 Compute the interest using the following formula:A P+rn P- principal amount (the initial amount you borrow or deposit) r-annual rate of interest (as a decimal) t - number of years the amount is deposited or borrowed for. A-amount of money accummlated after n years, including interest. Start Free Trial
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
