โ Back to Loops
Question 326
Repeat a Word 4 Times
Repeat a Word 4 Times
Use a loop to print the word Hello on 4 separate lines. The exact output is:
Hello
Hello
Hello
Hello
Expected Output:
Hello Hello Hello Hello
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.