Question: C language Part 2: Write a program findStr.c that finds the smallest and largest in a series of words. After the user enters the words,
C language

Part 2: Write a program findStr.c that finds the "smallest" and "largest" in a series of words. After the user enters the words, the program will determine which words would come first and last if the words were listed in dictionary order. The program must stop accepting input when the user enters a four-letter word. Assume that no word is more than 20 letters long. An interactive session with the program might look like this: Enter word: dog Enter word: zebra Enter word: rabbit Enter word: catfish Enter word: walrus Enter word: cat Enter word: fish Smallest word: cat Largest word: zebra
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
