Exercise 4 · Chapter: String ManipulationRequired+50 XP
Split the Sentence
Read a sentence and print each word on its own line.
Example:
Input:
I love JavaScript
Output:
I love JavaScript
Need a hint?
3 available · costs 5 XP each
javascript
Output
Run your code to see the output here.