Challenge: Write the Contents of a File to Another File
Here is a simple coding challenge based on the concepts of file handling.
We'll cover the following...
Problem statement
Write a program that opens a file and writes all non-empty lines in that file to another file. The name of the new file can be based on the name of the original file. For example, if the original file ...