Example106
Is the number of letters a function of a word?
First, identify what is the input and what is the output. You can write down the following table as an example.
Input: Word | Output: Number of Letters |
I | 1 |
Love | 4 |
Math | 4 |
Class | 5 |
In this case, the number of letters is a function of the word, since for each input (word) has exactly one output (number of letters).