CJCoding With Joseph

Even Numbers 20 Down to 2

Use a loop to print the even numbers from 20 down to 2, one per line, counting downward. The exact output is:

20
18
16
14
12
10
8
6
4
2

Expected Output:

20
18
16
14
12
10
8
6
4
2
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.