Loan negotiation is usually not a straightforward task. A type of loan is  the discount installment loan. This type of loan has the following  characteristics. Supposing a loan has a face value of GHC 1000, interest  is 12% and the duration is 24 months. The interest is compounded by  multiplying the face value by 0.12 to produce GHC 120. The figure (120)  is then multiplied by the loan period of 2 years to give GHC 240 as the  total interest owed. This amount is immediately deducted from the face  value leaving the customer with only GHC 760. Repayment is then made  in monthly equal installments based on the face value. This means that  the monthly payment will be GHC 1000 divided by 24 which is  approximately 41.67. This method of calculating the monthly repayment  is not too bad if the consumer needs only GHC 760 but the calculation is  a bit complicated if the consumer needs GHC 1000.  a. Write a program that will take 3 inputs 1. The amount the consumer needs 2. The interest rate 3. The duration of the loan in months.    The program should then calculate the face value required for the  consumer to receive the amount needed.   . Your program should also calculate the monthly payment    The program should also allow the calculations to be repeated as  often as the user wishes. Explain the part of the code that is causing  the repetition

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 20PE: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...
icon
Related questions
Question

Loan negotiation is usually not a straightforward task. A type of loan is 
the discount installment loan. This type of loan has the following 
characteristics. Supposing a loan has a face value of GHC 1000, interest 
is 12% and the duration is 24 months. The interest is compounded by 
multiplying the face value by 0.12 to produce GHC 120. The figure (120) 
is then multiplied by the loan period of 2 years to give GHC 240 as the 
total interest owed. This amount is immediately deducted from the face 
value leaving the customer with only GHC 760. Repayment is then made 
in monthly equal installments based on the face value. This means that 
the monthly payment will be GHC 1000 divided by 24 which is 
approximately 41.67. This method of calculating the monthly repayment 
is not too bad if the consumer needs only GHC 760 but the calculation is 
a bit complicated if the consumer needs GHC 1000. 
a. Write a program that will take 3 inputs
1. The amount the consumer needs
2. The interest rate
3. The duration of the loan in months.

 

 The program should then calculate the face value required for the 
consumer to receive the amount needed.

 

. Your program should also calculate the monthly payment

 

 The program should also allow the calculations to be repeated as 
often as the user wishes. Explain the part of the code that is causing 
the repetition

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT