This program reads a sentence character by character and computes the following:
- Length of the sentence (excluding the final period)
- Number of words (words are counted based on spaces)
- Number of vowels (both uppercase and lowercase)
- Reads characters until a period (
.
) is found - Counts the total number of characters, spaces, and vowels.
- Adjusts the word count by adding 1 at the end.
- Outputs the results.