Answered step by step
Verified Expert Solution
Question
1 Approved Answer
LANGUAGE ==== C++ Problem 2: Tri-State Credit Bank (max 50 points) The Tri-State Credit Bank uses a central data processing system where each branch accesses
LANGUAGE ==== C++
Problem 2: Tri-State Credit Bank (max 50 points) The Tri-State Credit Bank uses a central data processing system where each branch accesses a networked server at the Tri-State Credit Bank main office. The server has a tendency to slow down during certain times, when many users are on the system. Because of this, the loan officer at one of the branch offices has asked you to write a loan amortization program to run locally, on its desktop PC. The Tri-State Credit Bank uses the following formula to calculate the monthly payment of a loan: Payment - Loan * Rate / 12 * Term Term-1 Where: Loan = the amount of the loan Rate = the annual interest rate Term = (1+R/12) Y*12 The report produced by the program should show the monthly payment and print four columns for each month in the loan period: Month number Interest Principal Balance The variables you need are given in Table 1. Include two functions into your code. Table 1 Variable loan rate years balance Description A double. Holds the loan amount. A double. Holds the annual interest rate. A double. Holds the number of years of the loan. A double. Holds the monthly balance. A double. Used in the payment calculation. A double. Holds the monthly payment. term payment Problem 2.1. Your code should produce the following the given below output during the first run. Submit .cpp file and this output. Include reasonable number of comments. (max 30 point Problem 2.1. Test your program with 2 more sets of different data. Submit 2 additional outputs. Include reasonable number of comments. (max 20 points) Problem 2: Tri-State Credit Bank (max 50 points) The Tri-State Credit Bank uses a central data processing system where each branch accesses a networked server at the Tri-State Credit Bank main office. The server has a tendency to slow down during certain times, when many users are on the system. Because of this, the loan officer at one of the branch offices has asked you to write a loan amortization program to run locally, on its desktop PC. The Tri-State Credit Bank uses the following formula to calculate the monthly payment of a loan: Payment - Loan * Rate / 12 * Term Term-1 Where: Loan = the amount of the loan Rate = the annual interest rate Term = (1+R/12) Y*12 The report produced by the program should show the monthly payment and print four columns for each month in the loan period: Month number Interest Principal Balance The variables you need are given in Table 1. Include two functions into your code. Table 1 Variable loan rate years balance Description A double. Holds the loan amount. A double. Holds the annual interest rate. A double. Holds the number of years of the loan. A double. Holds the monthly balance. A double. Used in the payment calculation. A double. Holds the monthly payment. term payment Problem 2.1. Your code should produce the following the given below output during the first run. Submit .cpp file and this output. Include reasonable number of comments. (max 30 point Problem 2.1. Test your program with 2 more sets of different data. Submit 2 additional outputs. Include reasonable number of comments. (max 20 points)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started