Problem:
Question: Write a code that allows the user to enter a phrase of multiple words into a string. Start by declaring a string of 101 characters called ‘mystr'. If you use the statement below to read a phrase from the user into the string, only the first word will be captured. For example, if the user enters "Good morning", only the word "Good" will be saved in the string since the ‘scanf' stops reading after the space character. scanf("%100s", mystr);
Please describe.