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

Lee la frase y después escoge la frase que pudo haber estado antes de ella en el mismo párrafo basado en el uso de los pronombres y conjugaciones de verbos. Rea
Calculate the volume occupied by 1.68 g of He gas at STP.
FOR BRAINLIEST!!!!!! Just do 15. And 17.
PLSSSSSSSS!!! I'LL MARK U BRAINLIEST IF U ANSWERRRR!!! PLEASE THIS IS DUE IN 5 MINUTES!!! PLEASEE!!! Student council is selling T-shirts during spirit week. It
A direct democracy is similar to a representative democracy because both forms of government A. allow citizens to vote in elections. B. do not protect the r
6 less than the product of 3 and a number
This is for my Sociology class. The minimum words requirement is 100 (I'm stuck) Explain the difference between stereotypes, prejudice, discrimination, and raci
A coworker did not clean his work area before going home. This could cause an accident, so you quickly clean up. The next day you see the coworker. What would y
The study of non-living things is called_. a Life science b forensic science c earth science d physical science
Use base ten blocks or an area model to find the product. 2.1 x 1.5