Computer Science, asked by Atlas99, 16 days ago

1. Write a program to accept principal, time and rate as parameter and find the Simple Interest.​

Answers

Answered by llxMrsINVALIDxll
2

Explanation:

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);

}

Answered by manojchauhanma2
1

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