Prints a "prompt" text and then asks the user a line of text from the standard-input. It isn't really the best approach at technical level but works.