Revise the main routine of the longest-line program so it will correctly print the length of arbitrary long input lines, and as much as possible of the text.
Write a program to print all input lines that are longer than 80 characters.