Answer:
Step 1: START
Step 2: For I = 2 to 20
Step 3: if I %2 == 0
Step 4: PRINT I
Step 5: I= I + 2
Step 6: NEXT I
Step 7: STOP
Step-by-step explanation:
The output of the above algorithm will be
2 4 6 8 10 12 14 16 18 20
Above, we are using the for loop, and it starts with I =2, and with every iteration I is incremented by 2. And hence, we get the above output.