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

Cost allocation involves: Multiple Choice Identifying a cost driver for each cost to be allocated. Calculating an allocation rate for each cost to be allocate
Love, which can't be observed or measured directly, is an example of a psychological construct. Please select the best answer from the choices provided TRUE OR
55,37, 52,50, 53,46,53 whats the standard deviation of the data set?
how many alleles does a child get from each parent trait
Analyze the graph and I would like some help.
I NEED HELP PLEASE ASAP/Abigail's toaster produces 50 units of heat and 5 units of light for every 100 units of electricity it uses. What is the efficiency of h
Who was involved in the Roots of Conflict?
What is the coating, marked by arrows in the diagram shown, at the ends of the leg bones? White blood cells Rock Marrow Cartilage
Which of the following best explains why tan 5 pie/6 does not equal tan 5 pie / 3
How can optimism carry us through tough times