Analyzing Pseudocode Loop Output
Which of the following describes the output of the pseudocode segment below?
i = 2
while i <= 50:
print i
I += 2
A
Print numbers equal to 2 and less than 50.
B
Print all even numbers from 2 to 50.
C
Identify a word labeled with the number 2 and determine how many times the text is printed, up to 50 times.
D
Recognize two-syllable words and print the first 50 words in a list.