← Back to Printing
Question 178
Three Lines in a Row
Three Lines in a Row
Print the words Ready, Set, and Go! so that each appears on its own separate line. You can do this with one printf call by placing the newline escape sequence \n between the words. This teaches how \n controls where lines break inside a single string, rather than needing a separate print statement for each line.
Expected Output:
Ready Set Go!
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Printing
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.