answersLogoWhite

0


Best Answer

#include<iostream.h>

#include<conio.h>

Class interest

{

Private:

Float principle, time, rate, interest;

Public:

Interest ();

Interest (float, float, float);

Void display ();

};

Interest:: interest ()

{

Interest =0;

Principle = 0;

Time=0;

Rate=0;

}

Interest:: Interests (float p, float t, float r)

{

Principle=p;

Time=t;

Rate=r;

Interest=0;

}

Void interest:: display ()

{

Interest = (principle * time * rate) /100;

Cout<<"\n interest="<<interest;

}

Void main ()

{

Float p, t, r;

Cout<<"\n enter the principle, time, rate";

Cin>>p>>t>>r;

Interest obj (p, t, r);

Obj.dispay ();

getch ();

}

User Avatar

Wiki User

βˆ™ 11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find simple interest using constructor in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where can I find a simple interest calculator online?

There are many simple interest calculators online that you can find. I found the one at http://easycalculation.com/simple-interest.php to be simple and accurate.


Solve simple investment problems using the simple interest rate method?

Alright, listen up, honey. To solve simple investment problems using simple interest, you just need to multiply the principal amount by the interest rate and the time period. Add the interest to the principal, and voila, you've got your total amount. It's basic math, darling, nothing to lose sleep over.


Find the formula of simple interest?

the formula for simple interest is I=PRT (interest=principal x rate x time )


How do you find time in simple interest?

time(t)= interest/rate , princaple


How does simple interest work?

Multiply together the capital, the interest rate (as a fraction) and the number of periods to find out the interest.


How do you draw an algorithm to find the simple interest?

The answer depends on what information you do have.


Where could one find an online simple interest calculator?

If you are looking for an online simple interest calculator there are several sites that you can find this on. One site where you can is called Easy Calculation and will give you all the tools you need.


The difference between the simple and compound interest on a certain sum is Rs250 for two years at 5 percent Pa per annum Find the sum?

simple interst is when you earn interest from your principal but compound interest is when you earn interest from your principal as well as from your previous interest


How do you find simple interest rate?

P*r*t divided by 100


How do you do interest rate problems?

First you figure out the Principal, then you find the interest rate and then find the Time someone gave you to pay back loaned or borrowed money.Formula: Simple Interest= Principal*Rate*TimeExample: Principal-$25,000 Interest Rate- 6.25 simple interest- 6 years$25,000 x .0625 x 6= $9375!


Where can you find answer for Holt math lesson 6-7 practice a simple interest?

13


How do you solve interest rate math problems?

First you figure out the Principal, then you find the interest rate and then find the Time someone gave you to pay back loaned or borrowed money.Formula: Simple Interest= Principal*Rate*TimeExample: Principal-$25,000 Interest Rate- 6.25 simple interest- 6 years$25,000 x .0625 x 6= $9375!