write a Java program for the following : write a program in java to calculate simple interest (SI) for principal amount (P) as '125000 with rate (R) as 72% and time (T) as 3years
Answers
Answered by
0
Answer:
JAVA
public class Main.
{
public static void main (String args[])
{ float p, r, t, si; // principal amount, rate, time and simple interest respectively.
p = 13000; r = 12; t = 2;
si = (p*r*t)/100;
System.out.println("Simple Interest is: " +si);
Similar questions