/* File name? message.txt > Pim, > > Can you please modify the a5/turnin settings to make CSE 142 Homework > 5 due Wednesday, July 27 at 11:59pm instead of due tomorrow at 6pm? I > have decided to moderately extend the assignment because last week was > so jam-packed with the midterm. > > Thanks, > Marty > > -- > Marty Stepp, Lecturer > University of Washington-Tacoma, Institute of Technology */ import java.io.*; public class QuoteLines { public static void main(String[] args) throws FileNotFoundException { Scanner console = new Scanner(System.in); System.out.print("File name? "); String filename = console.next(); System.out.println(); Scanner input = new Scanner(new File(filename)); while (input.hasNextLine()) { String line = input.nextLine(); System.out.println("> " + line); } } }