See all articles from Quarters Spring 1985
Here’s 3 short subroutine that adds intelligence to your programs to make them user friendly. It will compare a user’s input to a list of words that a computer is expecting. If an exact match is not found it calculates the best match based on the similarity of the letters in the words. This allows the program to accept user inputs with typos rather than make the user enter the info again.