Question
Uppercase File Converter Programming Assignment Create a New Java Project called YourLastNameUpperCase . Write a program that asks the user for the names of two
Uppercase File Converter Programming Assignment
Create a New Java Project called YourLastNameUpperCase.
Write a program that asks the user for the names of two files. The first file should be opened for reading and the second file should be opened for writing. The program should read the contents of the first file, change all characters to uppercase, and store the results in the second file. The second file will be a copy of the first file, except that all the characters will be uppercase. Use the Notepad text editor to create a simple file that can be used to test the program.
Please note that I will test your project using a file that I have created.
NOTE: Be sure to provide specific instructions to the user on how to enter the file name as input (i.e. provide sample input to the user: "Enter the name of your first file in the format filename.txt."). Also, the program should NOT use a try-with-resources block to perform the file conversion. It should also NOT use FileReader and FileWriter OR BufferedReader and BufferedWriter.
PROGRAMMING GUIDELINES: A programming assignment will be assigned a grade of 0 if it fails to compile. Each program must not contain any spelling errors in the program output or points will be deducted. Each program must contain a comment section (or points will be deducted) that indicates the following: 1. Student Name 2. Program Name 3. Short Program Description 4. Due Date Programs should use appropriate spacing and indentation, in order to increase readability. Programs should only be completed in Eclipse. Use comments for clarification throughout your programs. Use meaningful variable names. Subdivide your program into mini-sections. For more difficult programs, this will make it easier to detect both syntax and logical errors. Naming Convention for mutator methods: set + fieldname (i.e. setName) Naming Convention for accessor methods: get + fieldname (i.e. getName)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started