Consider a three-input program to handle personal loans of a customer. Its input is a triple of
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 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
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Flexible, Reliable Software Using Patterns And Agile Development
ISBN: 9781439882726
1st Edition
Authors: Henrik B Christensen
Question Posted: