Computer Science, asked by batulkathiriya786, 4 months ago

write a c++ program to calculate simple interest. use objects to initialize the values of the parameter​

Answers

Answered by ahmaifanchun
1

Answer:

Simple interest is a quick method of calculating the interest charge on a loan ... The formula to calculate the simple interest is: ... Print the resultant value of SI */.

Explanation:

please follow me

Answered by Itzunknownhuman
0

Answer:

HÅPPÝ NEW YEAR AND please make me brainlest and thank me too me brainlest and thank me too

Explanation:

In this post, we will write a C++ program to calculate simple interest. Simple interest is a quick and easy method of calculating the interest charge on a loan. Simple interest is determined by multiplying the daily interest rate by the principal by the number of days that elapse between payments.

The formula for simple interest is given as,

Simple Interest = (principal amount × interest rate × time) / 100

#include<iostream>

using namespace std;

int main()

{

// declare variables

float p, t, r, interest;

// take input from end-user

cout << "Enter principal amount, time and rate:";

cin >> p >> t >> r;

// calculate interest

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

// display result

cout << "Interest = " << interest << endl;

return 0;

}

Output:-

Similar questions