Answer to Question #3313 in C++ for mukunda

Question #3313
Write a program to calculate the simple interest

simple interest=(p*r*t)/100

p=principle amount

T= time

R=rate of Interest
1
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS