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

The population of a city is expected to increase by 7.5% next year. If p represents the current population, write an expression that represents the expected pop
what is the slope in 3y-4x=12
Bashar went bowling with $25 to spend. He rented shoes for $5.25 and paid $4.00 for each game. What was the greatest number of games Bashar could have played?
A deficiency of which molecule will trigger lactic acid buildup in our muscles? ATP Carbon dioxide Oxygen Water
what is the mass of H2O produced when 10.0 grams of H2 react completely with 80.0 grams of O2
explain how a scientist would use dna or protein sequences taken from three different organisms to construct a cladogram
What is the weight of blaines lunch to the nearest pound? Lunch:6.1 kg
When did the most immigrants arrive in the United States? A. 1893 B. 1900 C. 1913 D. 1907
Which is most likely an acquired trait in horses? A. color of fur B. length of ears C. ability to run D. a slight limp
is the relationship between 6 and the number of 6s 6,641