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
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
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
Math,
2 months ago
Science,
2 months ago
India Languages,
5 months ago
Math,
5 months ago
Science,
10 months ago