1. Consider the following programs and choose the correct answer.
a. FOR I
1 to 10 STEP 2:b. FOR A
50 to 1 STEP -1
PRINT I
PRINT A
NEXT I
NEXT A
The output of the program is:
i) All even numbers from 1 to 10
The output of the program is:
i) Numbers from 1 to 50 in ascending order
ii) Numbers from 1 to 50 in descending order
ii) All odd numbers from 1 to 10
Answers
Answered by
0
Answer:
1. a. (iii)
Explanation:
The answer is Numbers from 1 to 50 in descending order
Similar questions