Computer Science, asked by bipasha85, 1 year ago

write a program In c++ to accept the principal amount rate of interest and time as input and display the simple interest

Answers

Answered by chidu07
0

#include<iostream.h>

#include<conio.h>

void main()

{ float si,p,t,r;

cout<<"Enter the Principal Amount";

cin>>p;

cout<<"Enter The Rate of Interest":

cin>>r;

cout<<"Enter the Time Period";

cin>>t;

si=(p*t*r)/100;

cout<<"\n Simple Interest: "<<si;

getch();

}

Similar questions