// This program reads an email message file and outputs it // with > marks on the front of each line. import java.io.*; // for File import java.util.*; // for Scanner public class QuoteMessage { public static void main(String[] args) throws FileNotFoundException { Scanner input = new Scanner(new File("email.txt")); while (input.hasNextLine()) { String line = input.nextLine(); System.out.println("> " + line); } } }