Question: Consider a three-input program to handle personal loans of a customer. Its input is a triple of positive integers (say principal, rate and term). 1000
Consider a three-input program to handle personal loans of a customer. Its input is a triple of positive integers (say principal, rate and term).
1000 principal 40000 1 rate 18 1 term 6 The program should calculate the interest for the whole term of the loan and the total amount of the personal loan. The output is:
interest = principal * (rate/100) * term total_amount = principal + interest Generate boundary value, robust and worst-case test cases
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
