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

Please help me!!!!!!!!!!
A dog with brown fur breeds with a dog with gray fur. When the puppies are born, three of the puppies have brown fur, and one puppy has gray fur. Assuming that
There are no personal judgments involved in normative analysis. a. True b. False
need help!!!!!!!!!!!!!!!!!!
The speech component headings (introduction, main points, transitions, and conclusion) have been replaced with symbols. Review the speech outline and answer the
To edit the color of the text in presentation software, choose the Font color command Text Color in the ________ ribbon toolbar. Edit File Format Home
in the scopes trial of 1925, attorney William Jennings Bryan pitted religion against
How did the Department of War change in terms of its name and organization? Write a full paragraph that summarizes what you learned in this assignment.
:What were the three major groups of Israelites that formed in the wake of the Babylonian destruction, and how were they related to each other?
I will mark brainiest is my answer is correct?