Question #3313

Write a program to calculate the simple interest <br>
simple interest=(p*r*t)/100<br>
p=principle amount <br>
T= time<br>
R=rate of Interest<br>

Expert's answer

#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;

}

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;

}

## Comments

## Leave a comment