Due: May 25, 2023
Points: 30
In the homework, you wrote two programs that read in and sorted words. The “word” was defined as any sequence of alphanumerics. But this did not take into account words split over two lines. For example,
hel- lois really the word “hello”. The two parts are separated by a hyphen, perhaps some space, a newline, and perhaps more space.
For this extra credit, take your program wordsort1.c and modify it so it will handle words that are split over 2 lines, as above.
|
ECS 36A, Programming & Problem Solving Version of May 15, 2023 at 4:40PM
|
You can also obtain a PDF version of this. |