โ Back to Loops
Question 320
Print Multiples of 3 up to 30
Print Multiples of 3 up to 30
Use a loop to print every multiple of 3 from 3 up to and including 30, one per line. The exact output is: 3 6 9 12 15 18 21 24 27 30
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 (cout, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.