public class Lab4


{
   public static void main (String args [])
	{
	
	   Scanner myKeyboardScanner, myFileScanner;
      String fileName;     
	   
		myKeyboardScanner = new Scanner (System.in);
	       
		
		// prompt for filename
		System.out.println ("Please enter the name of your file with path");
		fileName = myKeyboardScanner.nextLine();
	
	
	
	   // insert the filename input.txt in the statement below
		myFileScanner = new Scanner (File ( ) );	



      // where did it assume the file was?
		


      // since there is no file named input.txt, what error message
		// occurred?
		
		
		// insert an appropriate try catch block to catch the exception
		// and exit
		
		// create a file on the C drive in the Temp directory named
		// input.txt - it does not matter what is in the file

		// alter the initialization of myFileScanner so that it
		// contains the absolute (complete) pathname to the file you
		// just created.
				myFileScanner = new Scanner (File ( ) );	

		
		
		// hard coding a filename into a program is evil.
	   // alter your program so that it gets the correct filename from the user.
		
		
		
		// check that your program works when you give it the correct filename
		
		
      // now type in an incorrect filename. What error message is output
		// by your try/catch block?
		
		
		
		// alter your try catch block so that instead of quitting, your
		// program tries again until the desired filename is entered.		

Part 2
				
		// now copy the file numbers.txt to your working directory 
		// the file was supposed to contain only ints but professors
		// Harris and Adams were tired when they created it so it has
		// some junk in it.  You must deal with the file as it exists.
	   
		// this part of the lab asks you to actually process the data
		// in the following way.  Note that may only read the file data once.
		// You are to:
		//   find the smallest int in the file
		//   determine whether the value  13 is in the file and print
		//   a message telling how many times it occurs.
		

		
		
		