Now is time for one of the bread slices of Programming.
Functions.
I am writing these words with a function called speak.
Functions are a way to perform specific logic on demand. A funciton can take input known as parameters and perform what necessary logic a person needs. When working with parameters the scope of the paramaters and its variables stay within the function and can not be used outside the function.
There already exists a function that counts the words in a string, but it does not have this string explaining what it does. Ta-da!
The function below used to the words in a string is "str_word_count()"
Word count: 50