christianmason7821 christianmason7821
  • 22-01-2024
  • Computers and Technology
contestada

What is the value of k after this code completes?

int i = 0, j = 0, k = 0;
while (i < 3) {
i++;
j = 0;
while (j < 3) {
j++;
k = k + i + j;
} }

1) 36
2) 54
3) 9
4) 6

Respuesta :

Otras preguntas

Which describe Isaac Newton's accomplishments? Choose all answers that are correct. a. discovered that white light is made up of the many different colors of th
Rewrite the expression as an equivalent power with a negative exponent. a. 1/49 b. 27/125
a fast food restaurnant had 13 pounds of flour if they split rhe flourevenly among three batches of chicken how much flour would each batch use? between what tw
When 12 is added to a number the result is 32 less than 3 times the number. What is the number? plz help
How did the Underground Railroad work? a// There were a couple of set routes with regular paths. b// Slaves hid and slept during the day and traveled at night.
Help!!!! Which of the following was NOT true of Vichy France? a. The French military was disbanded . b. The French government moved to French colonies in North
people who take a layer cake view of federalism believe that
who gave the slogan "Do or Die:
B/Which sentence does not contain any errors? a. Its' like something my mother wore thirty years ago. b. It's like something my mother wore thirty years ago. c.
Which is not part of John Locke's work and beliefs? a. Natural rights include life, liberty, and property. b. The only reason to create laws should be for the g