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

according to the law of demand consumer demand for a product will decrease if
Five importance of Variation​
Identify each statement as true or false. The word "federal" is the same as the word "national"{T/F] The federal believed no army was necessary in times of peac
IS THIS CORRECT PLEASE I NEED HELP!!* 15 points!!*
what is the definition of 420
solve |x+3| > -8 no solution all real numbers x>5 x>5 or x<-11 I am a little confused on what to do
Which of these is a biomorphic shape? Choose the answer. O a capital letter W O a microphone an outline of a pine tree O a pyramid
What Is the first thingyoulookat In a patient chart
What was the Goliad massacre? A. Texans slaughtered the Tejanos who had surrendered. B. Texans who had surrendered were slaughtered by Santa Anna's men. C. Sam
Describe one example of an energy transformation in this diagram and explain why it is a transformation. Repeat this description and explanation for an energy t