Step 5

What does this program do?

This is a loop. The statements within the curly brackets { and } are repeated. Check how it works carefully

Program 5-1

Change it so it will output 1,2,3,4,5,6,7

Program 5-2

Change it so it will output 3,4,5

Program 5-3

Change it so it will output 5,4,3,2,1

Program 5-4

Change it so it will output 2,4,6,8

Program 5-5

Change it so it will output -3,-2,-1,0,1,2,3

Index

Input:
Output:
Score:
Line
Statement
Var
Now
Next
1
a
 
2
b
 
3
c
 
4
d
 
5
e
 
6
7
8
9
10
11
12
13