-
Students will be provided with a text file, squeeze.txt, containing lines of text, which may or may not have spaces in front of the lines. You will write a class which reads in the lines of text, counts the number of spaces at the beginning of each line, and will write the lines to remove the blanks at the beginning of each line and replace them with an integer count of the number of blanks present.
-
The number of lines in the file is unknown.
-
Here is an example of how the data could be changed: