Write a program to find Simple Interest in C Language - Program of Simple Interest in C - Simple Interest Program in C
Program of Simple Interest in C Language
#include<stdio.h>
int main()
int main()
{
float amount, rate, time;
int SI;
printf("Enter the Principal Amount = ");
scanf("%f", &amount);
printf("\nEnter the Rate of Interest = ");
scanf("%f", &rate);
printf("\nEnter the Period of Time = ");
printf("\nEnter the Period of Time = ");
scanf("%f", &time);
SI = (amount * rate * time) / 100;
printf("\nSimple Interest is : %d\n", SI);
return(0);
Comments
Post a Comment