getNumericValue that takes a string and returns its numerical value.sum to 0.sum by 10 and add the difference between the character and 'a'.sum as the numerical value of the string.isSumEqual function, call getNumericValue for firstWord, secondWord, and targetWord.firstWord and secondWord equals the numerical value of targetWord.true if they are equal, otherwise return false.