The area of carpet square is 81 square inches
<h3><u>Solution:</u></h3>
Given that carpet squares has sides that are 9 inches long
<u><em>To find: area of carpet square</em></u>
Since given that carpet is of square shape, we can use area of square formula
<u><em>The area of square is given as:</em></u>
Where "s" is the length of side
Given s = 9 inches
Substituting the values in above formula, we get
Thus the area of carpet square is 81 square inches
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:
With what, theres nothing there, I will still hel, just ask the question
Step-by-step explanation: