UpcaseNames.java
/**
Reads a file of lower case names, and writes a file of the
names with the first letter of each name in uppercase.
*/
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.util.Scanner;
import java.io.PrintWriter;
public class UpcaseNames
{
public static void main(String[] args)
throws FileNotFoundException
{
String inputFileName = "names.txt";
String outputFileName = "upcaseNames.txt";
// TODO: Open the input and output files.
// Read records from the input file.
// Upcase the first letter of each name on each line.
// Write each line with the modified names to the output file.
}
}