Reads a line from the input of the menu
Runs the menu
Writes the argument to the output of the menu
Writes the argument plus a line terminator to the output of the menu
See Implementation