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

Whole numbers are _____ integers. A) Always B) Sometimes C) Never
A group of students have a total of 29 pencils and everyone has at least one pencil each and the rest have 2 pencils each.How many students have only 2 pencils?
what is the difference btw limited liability and unlimited liability?
What addition doubles fact can help you find 4+ 3? Explain how you know
PLEASE PLEASE PLEASE HELP. :(
Answer the questions that aren't covered please? Thanks
Given: 9x > -36. Choose the solution set. {x | x < 4} {x | x > 4} {x | x < -4} {x | x > -4}
What is the value of x in the equation 4x + 8y =40 when y =0.8
Math 8 feet rope cut into pieces that a 2/3 foot. how many pieces will he have
M1*V1=M2*V2 Solve for M2 when M1=1.50,V1=4.2,andV2=5.0