Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

As a programmer in AIU Holdings, you have been asked to develop a home loan calculator using C PROGRAMMING LANGUAGE. In this calculator, the customer

As a programmer in AIU Holdings, you have been asked to develop a home loan calculator using C PROGRAMMING LANGUAGE. In this calculator, the customer needs to input a name, loan amount, number of years for loan and yearly interest rate. Given below is the formula to calculate loan instalment:

Loan instalment = (loan amount + (loan amount * interest (%) * years)) years(in month)

A. Determine a function CalcHLoan() that calculates home loan instalment. It will receive loan amount, interest rate and years in a month. Then it will return the instalment.

B. Determine a function Totalling() that calculates the total interest customer paid. The function receives loan amount, interest rate, years; and returns the total interest.

C. Determine a main program that requires the user to enter the customer's name, address, loan amount, interest rate and years. The program will calculate the loan instalment and total interest by using the above functions. Print the entire customer's information including loan instalment and total interest.

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions