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

you want to create a box that can hold at the very longest a 4in object. find the dimensions of a box that will work
Which number is greater? 2.234 or 2.244
(6x^5+21x^4+33x^3+0x^3+18x+12)÷(6x+3)
if a stamp costs 45 cents, what does a roll of 125 stamps cost in cents? what is your amount in dollars
What is Odysseus the only man ever to do and survive? a. Sailing past Scylla and Charybdis b. Descending to Hades and safely returning c. Hearing the song o
which human body systems work directly together to allow locomotion
What does newtons 3rd law of motion mean in an marshmallow catapult experiment
Without ribosomes, a cell would not produce
which element has atoms with the strongest attraction for electrons in a chemical bond? chlorine nitrogen fluorine oxygen
For which of these does mRNA provide the code? A. DNA B. proteins C. gametes D. organelles