(1) Prompt the user to enter a string of their choosing. Output the string.
Enter a sentence or phrase: The only thing we have to fear is fear itself.
You entered: The only thing we have to fear is fear itself.
(2) Complete the GetNumOfCharacters() function, which returns the number of characters in the user’s string. We encourage you to use a for loop in this function.
(3) In main(), call the GetNumOfCharacters() function