Answer:
total = 0;
for (k = 0; k <= n; k++)
total += Math.pow(k,3);
Step-by-step explanation:
Here the variable total is declared and initialized with a value zero
Then a for loop is defined with a counter k whose initial value is set to zero then a condition for the loop is that the counter k does not exceed n k<=n and then within the loop a statement which add the cube of the counter k to the variable total and still assigns it to the variable total is defined
total += Math.pow(k,3);
What this program does is to obtain the sum of the cubes of k
Answer:
Tax (6.0%)$38.55
Gross Amount (including tax)$681.05
Step-by-step explanation:
see picture
1 (1+4) (4+6) (6+4) (4+1) 1
1 5 10 10 5 1
64 is the answer tell me if I'm right
Answer:
<em>Total people Favorable</em> = 5850
Step-by-step explanation:
Total People = 8000
Company Expects who respond Favorably = 6000
Percent Error = = 150
<em>Total people Favorable = </em>Company Expects who respond Favorably-Percent Error
<em>Total people Favorable = </em>6000-150
<em>Total people Favorable = </em> 5850.