Add const qualifier to the argument
Complete exercise #1-18

Write a program to remove trailing blanks and tabs from each line of
input, and to delete entirely blank lines