Question #3346

Write a program to perform basic mathematical expressions?

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