Question: Output from FOR loops BEGIN MAIN CREATE count = 0 , outer, inner FOR ( outer = 0 , outer 7 , outer + +

Output from FOR loops
BEGIN MAIN
CREATE count =0, outer, inner
FOR (outer =0, outer 7, outer ++)
FOR (inner =10, inner 2, inner--)
count++;
END FOR
END FOR
PRINTLINE ("Count is: "+ count)
PRINTLINE ("Inner is: "+ inner)
PRINTLINE ("Outer is: "+ outer)
END MAIN
The final value of inner will be 0 after this code is executed.
True
False
 Output from FOR loops BEGIN MAIN CREATE count =0, outer, inner

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!