Question: Write a Java program that asks the user the file name of an input file. If the file doesn't exist, exit the program with an

Write a Java program that asks the user the file name of an input file. If the file doesn't exist, exit the program with an error message, otherwise, open the file. Ask the user enter another file name for the output file. If the file exists, display a message that the old content will be wiped out, if not, create a new file. Read in data line by line from the input file, convert all lowercase letters to uppercase letters and write to the output file. When done, output a message to screen displaying how many lines have been written
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
