Answer: Here is my answer- I hope it helps! Btw I did search this up but I change some words so I don't get in trouble again ; - ;
Explanation: A unit of measurement is a definite importance of an amount, defined and adopted by convention or by law, that is used as a standard for measurement of the same kind of amount. Any other amount of that kind can be expressed as a multiple of the unit of measurement. For example, a length is a physical amount.
I recommend looking up feet to inches on google and there is a fine converter there, however please tell me if you are looking for something else.
Answer:
Class SavingsAccount : public BankAccount
{
double interestRate;
int interestType;
public SavingsAccount(double interestRate, string interestType)
{
this.interestRate=interestRate;
if(interestType=="Simple")
this.interestType=1;
else if(interestType=="Compound")
this.interestType=2;
}
public double getInterestRate()
{
return this.interestRate;
}
public int getInterestType()
{
return this.interestType;
}
}
Explanation:
a set of elements that unify the slides and complement the topic