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

Is there a difference between cell division and reproduction?
2/5 * -3/7 - 1/14 - 3/7 * 3/5 + 1/2 Explan it pls ty (best gets brainliest)
Can someone please help me with think I will mark Brainly and lots of points!!
Classify the triangle by its sides and angles 5.5in 5.5in 1.5in
Fertilizer in waterways can lead to an increase in _______. a. nitrogen b. phosphorus c. algae d. all of the above please select the best answer from the choice
Following the American Revolution, many __________ moved from the United States to Canada.
please teach me how to do this
If P is the incenter of triangle JKL, find PJ
What’s a good title for the human rights?
If 23.5 g of ammonia (NH3) is dissolved in 1.0 L of solution, what is the molarity?