Separation of words
Write a program that receives a text from the user as input and all the words used in the text, along with the number of repetitions to display to the user
Example:
Input: This is an example. This is a text...
This: 2
IS: 2
an: 1
Example: 1
a: 1
Text: 1