New Want to Write for Computaholics ? if Yes Contact us at "contact@computaholics.in"

C Program To Find The Simple Interest

C Program To Find The Simple Interest

#include<stdio.h>

int main()
{
   int amount, rate, time, si;

   printf("Enter Principal Amount : \n");
   scanf("%d", &amount);

   printf("Enter Rate of Interest : \n");
   scanf("%d", &rate);

   printf("Enter Period of Time   : \n");
   scanf("%d", &time);

   si = (amount * rate * time) / 100;  //simple interest
   printf("Simple Interest is : %d\n", si);  //Print Output On screen

}
Copyright © C Program | Java | OpenGL Programming | Hadoop at Computaholics