Write a program that reads a series of whitespace delimited strings from stdin and prints them back out, separated by spaces, in lexicographic order. You may assume that all strings are lower case and that no string has more than 20 characters.
Maintain the strings in a sorted linked list in order to do this, using the provided Node class.
#include
#include
#include
#define LEN 20
typedef struct Node {
char word[LEN+1];
struct Node *next;
} Node;