gbgjak gbgjak
  • 26-05-2021
  • Computers and Technology
contestada

need the answer for this code hs will give brainly

need the answer for this code hs will give brainly class=

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 31-05-2021

Answer:

3

Explanation:

Given

The code segment

Required

How many times will move() be executed

The move() function is executed when the loop is executed.

The range and condition of the loop is as follows:

i = 0; i < 3; i ++

i = 0; i < 3 and i ++ means i= 0, 1, 2

So move() will be executed for the values of i= 0, 1, 2 (i.e. 3 values or 3 times).

Answer Link

Otras preguntas

Earth has seasons primarily due to its _____. A. tilt B. rate of rotation C. rate of revolution D. distance from the Sun
A bus and a car leave from the same city traveling in opposite directions. The bus leaves 2 hours before the car does. The bus travels at a steady speed of 50 m
Which was the Confederacy's first ironclad vessel, built on the hull of the Union ship, USS Merrimack? a. Hunley b. Monitor c. Virginia d. Kearsarge
Which of the following documents is not considered a landmark document of English history? A. the English Bill of Rights B. the Magna Carta C. the Virginia Bi
randy has 128 ounces of dog food. he feeds his dog 8 ounces of food each day. how much days will the dog food last
Write an expression that shows how to multiply 7 x 256 using expanded form and Distributive property.
A dry barren region that may be sandy and without trees or water is a . a.island b.harbor c.delta d.desert
find the integer pair that has the product of -65 and the sum of -8
The idea of laissez faire is most similar to
what is food dumping?