Showing:
Handle Score
@Ibrahim Nash 6560
@mb1973 5777
@Quandray 5275
@akhayrutdinov 5111
@saiujwal13083 5074
@kirtidee18 4409
@sanjay05 3762
@mantu_singh 3666
@gfgaccount 3605
@marius_valentin_dragoi 3525
The New Line
Easy Accuracy: 54.02% Submissions: 31586 Points: 2

You are familiar with producing output using C++/C. In this task, you'll be required to write three messages in three separate lines. Write Geeks for Geeks. But wait a minute!! You need to write each word of it in a separate line.

Example 1:

Input:
No Input
Output:
Geeks
for
Geeks
Explanation: First word of the statment
is in first line, next word is in next
line, and last is in last line.


In the function printInNewLine(), output each word of Geeks for Geeks in a separate line.