c) Write a program to find the simple interest where the principal, rate and time are given.
plzz help
Answers
Answered by
4
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
0
Answer:
The C Program calculates the simple interest given the principal amount, rate of interest and time. The formula to calculate the simple interest is: simple_interest = (p * t * r) / 100 where p is principal amount, t is time & r is rate of interest.
In this C program, we are reading the value for principal_amt, rate and time using the ‘principal_amt’, ‘rate’ and ‘time’ variables respectively.
Hope this helps. Mark as brainliest.
Similar questions
Science,
2 months ago
Math,
2 months ago
English,
2 months ago
History,
5 months ago
Biology,
5 months ago
CBSE BOARD XII,
10 months ago
Hindi,
10 months ago
Social Sciences,
10 months ago