Sedate Sedate
  • 20-11-2020
  • Computers and Technology
contestada

Help, please! I will mark as brainliest

Help please I will mark as brainliest class=
Help please I will mark as brainliest class=
Help please I will mark as brainliest class=

Respuesta :

tonb
tonb tonb
  • 20-11-2020

Answer:

Change line 7 to:

for( int i=0; i < names.length; i++)

Last element in the array is one less than the length, ie:

stArr1.length - 1

To print every other value, you replace index++ with index += 2

Explanation:

Not only should you change the <= into <, but also i should start at 0, not 1. The first element of an array has index 0.

Answer Link

Otras preguntas

If x and y, and x=4 when y=3. Find the a) relationship between x and y b) The value of y when x=12
Find the sum. Enter your answer in the box below as a fraction, using the slash mark ( / ) for the fraction bar. 3/7+9/7
Where Is Shengyren Industries, LLC's HQ
can you help me with 1 - 4
Write on the motion :Co education is the best​
if 5 large potatoes are 1 kg how many potatoes are in 10 kg​
What are the effects of smoking on our health ​
how would you diagnose a patient with osteoporosis in 3 paragraphshow would you diagnose a patient with osteoporosis and three paragraphs ​
What does the Anti-Imperialist League mean when it claims that U.S. policy “seeks to extinguish the spirit of 1776" in the Philippines?
Which is greater, 40% of 70, or 70% of 40? Justify your explanation with work and/or an explanation.