In embedded CLI (command-line interface) systems, you often need to parse commands typed by the user into tokens (like command and its arguments). A lightweight parser is used to extract each word (separated by spaces) into an array of strings.
Your task is to:
Read a single input line (up to 100 characters)
Split it into words separated by one or more spaces
Print each token on a new line
Do not use strtok() or any string library function (except gets() or scanf())