paulstanley2207 paulstanley2207
  • 26-02-2020
  • Computers and Technology
contestada

What is the value of alpha[4] after the following code executes? int[] alpha = new int[5]; for (int j = 0; j < 5; j++) alpha[j] = 2 * j - 1; one three five seven

Respuesta :

tonb
tonb tonb
  • 26-02-2020

Answer:

7

Explanation:

alpha[4] = 2*4 - 1, which evaluates to 7.

Answer Link

Otras preguntas

When do animals cooperate with one another
what is 378x6 regrouping
103 + 21 = _ + 103 please help
Select the answer that best completes this sentence: María es _______. simpático simpática simpáticos simpáticas
A thermometer is placed in water in order to measure the water's temperature period what would cause the liquid in the thermometer to rise?
Rewrite each expression as a sum -8x^2 + 3xy - 9x - 3
Find the difference of -5-(-25)
a pyramid has a square base that is 160 m on each side. what is the perimeter in kilometers
Which of earth Spears include the ocean ground water lakes and glaciers
non economic factors that affect Economic Development