In C programming
Write a program that finds the “smallest” and “largest” in aseries of words. The user enters one word at a time; the inputterminates when a user enters any word containing 3 characters.When all words are entered, the program should print, which wordcomes first (“smallest”) and which word comes last (“largest”) inlexicographic order. You are NOT supposed to sort incomingstrings.
Below is an example of a session:
Enter word:eleven
Enter word:twenty
Enter word:seven
Enter word:two
Smallest word: eleven
Largest word: two
Expert Answer
An answer will be send to you shortly. . . . .