You need to make a program for a leaderboard.
The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot:
You can use the \n newline character to create line breaks, or, alternatively, create the desired output using three double quotes “””.
Solution 1: As you can see we used (“”” “””) for multiple block of prints in the code.
Solution 2: Actually even in C++, ” \n “ means next line or new line, therefore you can use (” “) enclosed in it are the desired words you wanted to print. see examples above.
P.S. We really discourage copy pasting solutions, what we encourage is the understanding of why the code works instead of memorizing it.