Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A credit company XYZ Sdn Bhd has asked you to develop a loan calculator using C++ programming language. The calculator will be used by a

image text in transcribed

A credit company XYZ Sdn Bhd has asked you to develop a loan calculator using C++ programming language. The calculator will be used by a customer to calculate his/her loan instalment amount. The customer needs to input his/her name, address, loan amount number of years for loan and yearly interest rate. Based on the input, the calculator will calculate the loan instalment amount based on the formula given below: Total interest amount = loan amount + (loan amount * interest rate * number of years) Loan instalment Total interest amount Number of years in months) 1. Write a main program to do the following: i. Ask the customer to enter his/her name and address ii. Get the other inputs from function named getInput () iii. Use the functions created above to calculate the total interest amount and number of months iv. Calculate and display the loan instalment amount for the customer

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions