fardinhaque5065 fardinhaque5065
  • 12-08-2019
  • Computers and Technology
contestada

A foreach statement can be used in place of the for statement whenever code looping through an array requires "access" to the counter. True or False?

Respuesta :

flightbath flightbath
  • 17-08-2019

Answer:

False

Explanation:

Foreach is useful when we want to do something for each element rather than repeating something for  n times

Answer is False

Answer Link

Otras preguntas

how was society characterized during the Renaissance
Rodney is making three pizzas. The recipe says that, for one pizza, he needs 2 cups of flour, 2 teaspoons of instant active dry yeast, 2 cloves of garlic, 1 tab
why is Andrew wiggin called the third?
the two figures are similar. Find the ratios of the perimeters and of the areas. 8 is the width of a rectangle and 3 is the width of the other
what is x equal to when 2x+5=13
how would you convert 3 yards 2 feet into inches
what is x equal to when 2x+5=13
The hour of a clock moves from 10 to 1 o'clock. Through how many degrees does it moves?
Why was the Nile River and the land around it ideal for settlement and civilization
what is a (a) divided by(a^2)