Answer:
A statement that assigns freeBooks the appropriate value based on the values of the boolean variable isPremiumCustomer and the int variable nbooksPurchased.
if(nbooksPurchased > 4){
if(isPremiumCustomer){
freeBooks = 1;
if(nbooksPurchased > 7){
freeBooks = 2;
}
}else{
freeBooks = 0;
if(nbooksPurchased > 6){
freeBooks = 1;
}
if(nbooksPurchased > 11){
freeBooks = 2;
}
}
}else{freeBooks = 0;}
Explanation:
I would solve it like this:
15 / 3 = 5
5 Pizzas would be needed for each person to eat 1/3 of a pizza.
Hope this helps!
<span>Ricardo can most likely recover the cost of his injury from oxley in a suit based on the tort theory of outrage. This theory is also called the
Intentional infliction of emotional distress (IIED). It is a common law tort which allows individuals to recover for severe emotional distress caused by another individual that intentionally or recklessly inflicted emotional distress by behaving in an extreme and outrageous way.</span>
Answer:
Rate= 168.65%
Explanation:
When loans are collected there is interest that is paid on the principal collected. The interest is usually expressed as a percentage per year.
The following formula is used to calculate interest rate
Interest = principal* rate* time
We are asked to calculate annual percentage
Rate = interest/(principal * time)
Interest bis paid every two weeks. That is twice a month, and there are 12 months in a years. That is 2*12= 24 times.
Total interest per year= 24* 26= $624
Using the formula
Rate= 624/(370*1)
Rate = 1.6865
Rate= 168.65%