The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:Elementary,Middle School,High School,College,University,PHD
MBA IT, Mater in Science and Technology Devry Jul-1996 - Jul-2000
Professor Devry University Mar-2010 - Oct-2016
1. Given the code below, determine the name of the loop control variableÂ
BEGIN
        Declare Integer x = 1
While ( x <= 5 ) Do
Input "Enter a number: ", x
Set x = x + 2
End While
END
2.Â
Determine the initial value for the loop control variable given the code below.
Declare Integer x = 1
Set x = 13
While ( x <= 5 )
Set x = x+ 2
Â
3.Â
Determine the value by which the loop control variable is updated given the code below.
Declare Integer x = 13
While ( x <= 5 )
Input "Enter a number: ", x
Set x = x -Â 2
-----------