Question: Write a program that takes a file that has the all words combined together, but each word starts with an upper case letter. The program
Write a program that takes a file that has the all words combined together, but each word starts with an upper case letter. The program separates the words and writes them to an output file.
For example, if the input file has "ComputerScienceIsACoolFieldToGoInto.", then the output file should have "Computer science is a cool field to go into."
The program should:
Asks the user for the name of an input file and the name of the output file.
The program will open the input file and read one line at a time.
It will separate the words and write the line to the output file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
