Question: Write a Java program that reads an input text-file and it writes to an output text-file the number of words that start with uppercase letter

 Write a Java program that reads an input text-file and it

Write a Java program that reads an input text-file and it writes to an output text-file the number of words that start with uppercase letter in each line of the input text-file. Your program must display an error message on the monitor if the input text-file is empty Hint: You may require to use a String scanner in your program. Note: Your program must be general; it must work for any input file. The behaviour of your program must be similar to the sample program runs belovw Sample input file This is A Test Second Line the Fourth line. I am a CMScI ICS 102 STUDENT Sample output file: Line# Required word count

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!