Calculate simple interest

Given Principal, time and rate and calculate simple interest. Formula Interest = Principal×Rate×Time.

Example 1
---------
Principal :  1500.0
Time :  3.0
Rate :  7.3
Simple Interest :  328.5

Example 2
---------
Principal :  170.4
Time :  7.0
Rate :  3.4
Simple Interest :  40.5552



Comment

Please share your knowledge to improve code and content standard. Also submit your doubts, and test case. We improve by your feedback. We will try to resolve your query as soon as possible.

New Comment







© 2022, kalkicode.com, All rights reserved