- In a class named ReadAndEditFile.java, use the following prompt to get the fileName of the input file from the User: What is the name of your file?
- If the File doesnt exist, do not crash, but instead display File Not Found + fileName and repeatedly prompt until the user has entered a valid file name.
- If the File exists, read from the File.
- Capitalize the first letter in the file and capitalize the 1st letter after every period and correct the spacing by removing any duplicate spaces so that there is only 1 space between words.
- Write the modified output to a file named HomeworkOutput6-2.txt
Java
[Solved] In a class named ReadAndEditFile.java, use the following prompt to get the fileName of the input file from the User
$25
File Name: In_a_class_named_ReadAndEditFile.java,_use_the_following_prompt_to_get_the_fileName_of_the_input_file_from_the_User.zip
File Size: 1083.3 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.