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

The conditions that would not require beginning a new paragraph is a
Bikes for sale for $500 each and James sell for $25. Five times as many helmets were sold then bikes. Total sales were $2500. How many of each were sold? And wh
PLZZZ ANSWER FAST!!!Identify the Structure used in each sentenceThe French still prefer there meat rare, but the Germans eat raw hamburger meat.A. SimpleB. Comp
Who is the head of the White House office
what is the author trying to say in "Do Kalakar" by Mannu Bhandari?
Lenore rounds each factor to the nearest ten to estimate the product of 51×37 as 1,500 .is lenore estimate reasonable?explain
Stoichiometry. Are my answers right?
define and describe levels of organization
Help! What is the LCM of 75 25 15
match each exercise to its corresponding muscle or muscle group. a.dumbbell flys b.machine back press c.Push downs d.One arm row 1.pectorals 2.triceps 3.shoulde