help me

Get perfect grades by consistently using Place your order and get a quality paper today. Take advantage of our current 20% discount by using the coupon code GET20

Order a Similar Paper Order a Different Paper

Write a program that reads a file and create a file with contents lower case


public class InputOutput

public static void main(String[] args) throws FileNotFoundException, IOException
    File file1 = new File("inputfile.txt");
    File file2 = new File("outputfile.txt");
    BufferedReader in = (new BufferedReader(new FileReader(file1)));
    PrintWriter out = (new PrintWriter(new FileWriter(file2)));

    int ch;
    while ((ch = != -1) 
        if (Character.isUpperCase(ch)) 
            ch = Character.toLowerCase(ch);


have created a program but it will not compile or execute. Could someone fix the program?

"Is this question part of your assignment? We can help"


Do you need help with this or a different assignment? We offer CONFIDENTIAL, ORIGINAL (Turnitin/LopesWrite/SafeAssign checks), and PRIVATE services using latest (within 5 years) peer-reviewed articles. Kindly click on ORDER NOW to receive an A++ paper from our masters- and PhD writers.

Get a 15% discount on your order using the following coupon code SAVE15

Order a Similar Paper Order a Different Paper