Advertisement
Shekhar777

Java Simple Interest

Oct 19th, 2020
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.20 KB | None | 0 0
  1. Q7-Write a program to find the simple interest for given principal amount P, time Tm(in years) and rate R.
  2. Ans-static int SimpleInterest(int P, int R, int Tm){
  3. //enter your code here
  4. return(P*R*Tm)/100;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement