C Program For Calculate Simple Interest
#include <stdio.h>
int main()
{
/*C Program to Calculate Simple Interest*/
float amount, rate, time, si;
printf("\nEnter Principal Amount: ");
scanf("%f", &amount);
printf("\nEnter Rate of Interest: ");
scanf("%f", &rate);
printf("\nEnter Period of Time: ");
scanf("%f", &time);
si = (amount *rate *time) / 100;
printf("\nSimple Interest: %f", si);
return (0);
}
Simple Interest Formula in C
Simple Interest = ( Principal Amount * Rate of Interest * Time ) / 100;
The Output of the Program For Calculate Simple Interest
Similar to Simple Interest
- C++ Program For Calculate Simple Interest
- Java Program For Calculate Simple Interest
- C Program To Find Greater No. Among given Three Number
- C Program For Find The Gross Salary Of An Employee
- C Program For Calculate Percentage Of 5 Subjects
- C Program For Converting Temperature Celsius Into Fahrenheit
- C Program To Display Size Of Different Datatype
0 Comments: