The following words have three consecutive letteres that are also consecutive letters in the alphabet: Thirsty, Nope, Afghanistan, Student.
Write a program that accepts a word as input and determines wehther or not it has three consecutive letters in the alphabet. The program should use a Boolean= valued function named isTripleConsecutive that accepts an entire word as input.
Example: Hijack
Hijack contains three successive letters in consecutive alphabetical order.