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

How can i find the value for R
Are these fractions equivalent or nonequivalent?3a/4b 9a/12b Click on the correct answer.nonequivalentequivalent​
who is good at midpoints
Kedar is comparing the costs of phone plans. For phone plan A, the cost is $15.00 to connect and then $0.02 per minute. For phone plan B, the cost is $4.69 to c
Who invented the process of pasteurization? A. Louis Pasteur B. Robert Koch C. Wilhelm Roentgen D. Alexander Fleming E. Joseph Lister
Which of the following solutions will have the lowest freezing point?A) 0.015 m MgCl2 B) 0.0100 m NaCl C) 0.035 m CH3CH2CH2OH D) 0.0100 m Li2SO4
A horizontal desk surface measures 1.7 m by 1.0 m. If the Earth's magnetic field has magnitude 0.42 mT and is directed 68° below the horizontal, what is the mag
The president who believed in the nationalist system was_____? A. John Quincy Adams B. John Adams C. Andrew Jackson
In which way were Stalin’s communist state and Hitler’s fascist state similar? Both states had multi-party governments led by dictators. Both used secret police
Fill in the blanks with the preterite of ser or ir. Then write the infinitive form of the verb you used. June 19 11:59 PM 2 attempts remaining Grade settings Ex