Computer Science, asked by subadibhoomi, 5 months ago

write a program to enter principal amount,rate of interest and time period. Calculate and print simple interest? send in Java language

Answers

Answered by sanchitaandshivaybha
1

Explanation:

P= 5000 #Principal Amount

R=15 #Rate

T=1 #Time

SI = (P*R*T)/100; # Simple Interest calculation

print("Simple Interest is :");

print(SI); #prints Simple Interest

Answered by sahilbajoliya
1

Explanation:

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