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

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

LATEST TUTORIALS
APPROVED BY CLIENTS