Question: Given the following code segment. array = [ 3 , 6 , 8 , 1 , 2 , 0 , 7 , 2 , 9
Given the following code segment.
array
odd
WHILE lengtharray AND array DO
IF ~~ THEN
odd odd
ENDIF
ENDWHILE
What are the values of the variables i and odd after the while loop completes its execution?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
