0

C++ code for finding Simple Interest

21st Jul 2017, 3:04 AM
Dhruv Kumar
Dhruv Kumar - avatar
2 ответов
+ 1
#include<iostream> #include<conio> using namespace std; int main() { int p,r,t,i; cout<<"Enter Principle : "; cin>>p; cout<<"Enter Rate : "; cin>>r; cout<<"Enter Time : "; cin>>t; i=(p*r*t)/100; cout<<"Simple interest is : "<<i; return 0; }
21st Jul 2017, 3:44 AM
Divik Chaudhary
Divik Chaudhary - avatar
0
Thank u
21st Jul 2017, 4:20 AM
Dhruv Kumar
Dhruv Kumar - avatar