Answer to Question #3313 in C++ for mukunda
Write a program to calculate the simple interest
simple interest=(p*r*t)/100
p=principle amount
T= time
R=rate of Interest
1
2011-07-07T10:17:30-0400
#include <iostream>
using namespace std;
int main()
{
double p = 60, r = 10, t = 3;
double interest = (p * r * t) / 100;
cout << "Simple interest is " << interest << endl;
return 0;
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment