Exercise 1-18. Write a program to remove trailing blanks and tabs from each line of input, and to delete entirely blank lines.
I have no idea about this program .
1. first tell me the meaning and what to do in this question?
2. second provide me the source code if possible