Write a program that reads data from a text file and writes it back in
another text file with each sentence separated and entered in a new line.
Assumption: Each sentence ends with a period (.).
Guidelines:
[login to view URL] separate classes for reading data from text file and writing data
to text file.
[login to view URL] can be of your choice but each sentence should end with a .
[login to view URL]'t use standard library for manipulating data, sure use it for
reading/writing.
[login to view URL] should be atleast 10 sentences in the source text file.
[login to view URL] program should be general meaning it should run with any text file
that adhere with our restrictions.
Note: (You can use standard 'string' library only for encoding and decoding.)