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 received an email from your cousin, Gina , who wants your opinions on something hi I’ve been asked to choose a sports club but i can’t decide which club to
The lord had a ban monopoly on certain activities such as: a) Hunting b) Farming c) Blacksmithing d) Weaving
3.04 Central and South American Legacies and Contributions Assessment Name: Date: Step 1: Write a complete paragraph explaining your choice. Include three sum
FACTOR −2x2 + 10x HELP ME
Which of the following extracts show the writer using emotive expressions to engage the reader (select all that apply)? Wartime Diet Would do us a World of Goo
A survey was conducted among some people. The survey showed that 150 like to listen to the radio, and 90 don't like to listen to the radio. If 55 people like to
The medieval village lived and worked in a state of near _______? a) Autonomy b) Serfdom c) Anarchy d) Monarchy
A(-7,3) -10 -8 47.5 O 120 O 40.5 -6 65 -4 10- 8- 6 4- 24 0+ 0 2 4 C(0,-2) B (5,8) Peeta draws a triangle on the coordinate grid. What is the area of their trian
directions- fill the chart with these steps. write the steps in the order a new bill must go through to become a law. 1.If commitee approves on placed on house
Does the U.S. government violate the Chinese Exclusion Act by not allowing Chinese people to buy land?