← Back to Loops
Question 31
Multiples of 5 up to 50
Multiples of 5 up to 50
Use a for loop to print the multiples of 5 from 5 up to 50 on one line, separated by single spaces.
Expected Output:
5 10 15 20 25 30 35 40 45 50= newline. No newline after the last line.
Hints3 available
Sign in to use hintsTopics:
Loops
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · 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.