Question: Simple Interest is a quick method of computing the interest charged on a loan. It is calculated by the formula. Loan interest = principle times

Simple Interest is a quick method of computing the interest charged on a loan. It is calculated by the formula. Loan interest = principle times time times rate where principle refers to the loan amount, time the loan period (in years) and rate the interest rate. Interest rate varies based on the loan period, as in Table Q2.1 Write a complete C program consisting of a user-defined function called simpleInterest. The program should perform each of the following tasks: prompt user and input for loan amount and loan period, function simpleInterest to calculate and return the loan interest, print the calculated loan interest on the monitor screen. A sample program output is given below (texts in italic are user inputs)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
