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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education