CJCoding With Joseph

Multiples of 3 up to 30

Print every multiple of 3 from 3 up to and including 30, one number per line:

3
6
9
12
15
18
21
24
27
30

Use a loop that steps by 3 and print each value with printf("%d\n", i).

Expected Output:

3
6
9
12
15
18
21
24
27
30
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.