
Patrick B. answered 11/11/19
Math and computer tutor/teacher
the compiler error is because you need to put a blank space in between the single quotes to check
for blank character.
when you do, it will print the first letter in each word,so the output is
U
G
C
note that the sword flag gets set to FALSE if the next character is not blank;
it doesn't get reset until the next white space character, which then causes the
first letter of the next word to print
Ashley P.
Thank you very much for the explanation!11/17/19