Saved Bookmarks
| 1. |
Write the java expression for the following. SI = PRT/100 where SI is simple interest, P is Principal, R is rate and T is time. |
|
Answer» Simple Interest = (P × R × T)/100 P is Principal amount. R is rate PER annum. T is time in years. For example: Let’s say a man deposit 2000 INR in bank account at a interest rate of 6% per annum for 3 years, calculate the simple interest at the end of 3 years. Simple interest = 2000*6*3/100 = 360 INR Java Program to calculate simple interest In the following example we are taking the values of p, r and t from user and then we are calculating the simple interest based on entered values. I HOPE IT HELPS ☺️ FOLLOW ME DUDE (◍•ᴗ•◍)❤ |
|