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

Relax

Respuesta :

Otras preguntas

What are the differences between Warren’s and Wilson’s views about ratification of the Constitution?
Anyone want to tlak ????
Find the grade Juniper Would have to make on his fifth test if after four tests he has an average of 90,  and he must have a 92.5 in order to get a new four w
Sheldon Company had beginning retained earnings of $1,000, net income of $5,000, and dividends of $250. The ending balance in the retained earnings account is
The tree in janes backyard is 7.2m high how high is it in centimeters be sure to include the correct unit in your answer
Explain the ancient Egyptians religion. tell about their gods and afterlife story, etc. please help
as a context clue, often the author will follow a new rod with specific
Can you please help me?
what are three ways a farmer could benefit from vegetative propagation?
A local sports news network publishes its top 11 High School Football Power Rankings each week after the completion of the most recent weekend's games. How many