โ Back to Loops
Question 199
Odd Numbers 1 to 19
Odd Numbers 1 to 19
Use a for loop to print the odd numbers from 1 to 19 on one line, separated by single spaces. Expected output: 1 3 5 7 9 11 13 15 17 19
Expected Output:
1 3 5 7 9 11 13 15 17 19
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.