For a deferred payment plan no interest is accrued for the deferment period.
If $85 is made each month, then in 18 months, 18 * 85 = $1,530 must have been paid off from the balance owed.
Thus, the remaining balance after the deferment period is $2,885 - $1,530 = $1,355.
<span>// There are several ways of doing this piece of code.
// This is one of the smaller versions. If computes the values from the largest
// to the smallest, but does destroy the value of n at the end of the loop.
total = 0;
do {
total += n*n*n;
--n;
} while(n != 0);
// Here is a more conventional version that retains the value of n and computes in
// an upward fashion.
k=1;
total=0;
do {
total += k*k*k;
++k;
} while(k <= n);</span>
Answer:
7
Step-by-step explanation:
note the input is the value of x and the output the value of y
Given
y = 3x - 5 ← substitute x = 4
y = 3(4) - 5 = 12 - 5 = 7 ← output