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

What three factors are found in the system of checks and balances?
The communists triumphed over what forces
Jerome uses metal strips to make rectangular frames that are 8 inches long and 4 inches wide. What is the total length of the metal needed to make 5 frames? A.
Are natural numbers always / sometimes / never rational numbers
I'm not understanding this problem pls help ?
Which table of values satisfies the given equation?
What is the digit in number 5 to673,512
What was the four middle (mid Atlantic) colonies
A particular shade of paint is made by mixing 5 parts red paint and 7 parts blue paint. To make this shade, Shannon mixed 12 quarts of blue paint with 8 quarts
amino acids are important to the body because they build