Answered step by step
Verified Expert Solution
Link Copied!

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++

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Would you start a business mday driven by the adverti~ing model?

Answered: 1 week ago

Question

107 MA ammeter 56 resistor ? V voltmeter

Answered: 1 week ago

Question

Generally If Drug A is an inducer of Drug B , Drug B levels will

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago