Printing Tokens in C - Hackerrank Solution
Input Format
The first and only line contains a sentence, .
Constraints
Output Format
Print each word of the sentence in a new line.
Sample Input 0
This is C
Sample Output 0
This
is
C
Explanation 0
In the given string, there are three words ["This", "is", "C"]. We have to print each of these words in a new line.
Sample Input 1
Learning C is fun
Sample Output 1
Learning
C
is
fun
Sample Input 2
How is that
Sample Output 2
How
is
that
SHARE
If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
CODE TOGETHER..GROW TOGETHER.
Newer Posts
Dynamic Array in C - Hackerrank Solution
Older Posts
Array Reversal in C - Hackerrank Solution
Thanks
ReplyDeletePost Transition in C – Hacker Rank Solution
ReplyDeletehttps://www.codeworld19.com/post-transition-in-c-hacker-rank-solution/