โ Back to Loops
Question 59
For Loop: Print Multiples of Five
For Loop: Print Multiples of Five
Use a for loop to collect the multiples of 5 from 5 up to 50, then print them on one line separated by single spaces. Expected output: 5 10 15 20 25 30 35 40 45 50
Expected Output:
5 10 15 20 25 30 35 40 45 50
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.