* Our focus here is on STRINGS since they are arrays of characters.
* Write a program that reads a line of text (possibly a sentence therefore you can't use scanf() here), counts the number of words in it,
and displays the words.
* For our purposes, we define a word simply as a sequence of non-space characters.
Example:
Enter text: Roses are red, violets are blue.
The text has 6 words. These are
Roses
are
red,
violets
are
blue.
(In orange are the user's input)
* It includes punctuation marks and also counts duplicate words. You are not required to avoid these
but you may try creating a program that avoids counting duplicate words. You would receive extra 5 points
for doing so (the exercise alone is worth 10 points). You might need to use a two-dimensional array of
characters to do this and you will need to use strcmp().
help???
how do u solve this???