Program to find simple interest

0
12
#include<stdio.h>
#include<conio.h>
void main()
{
  float p,t,r,si;    /* p-> principle amont, t-> time in years,
                        r-> rate of interest and si for calculated interest */
  clrscr();
  printf("enter p, t, r\n");
  scanf("%f%f%f",&p, &t, &r);
  si= p*t*r/100;
  printf("\n simple interst is %.2f',si);
  getch();
}
    output:
    enter p,t,r
    5000
    4
    3
    simple interest is 600.00

 

program to find simple interest in c write a program to find simple interest in c write a program to find simple interest a program to find simple interest c program to find simple interest write a c program to find simple interest c program to find out simple interest write c program to find simple interest program to calculate simple interest in chow to find simple interest in c program

LEAVE A REPLY

Please enter your comment!
Please enter your name here