title: I need to open a text file that contains integers and i need to print out the smallest and lowest numbers in the file
body: <p>Here is what i've got so far. I dont't know how to print the lowest and highest number to the screen. Any help would be appreciated.Thanks.</p>
  
  <pre><code>BufferedReader openFile;
      try{
          openFile = new BufferedReader(new FileReader("LABEX10.txt"));
      }
      catch(FileNotFoundException e){
          System.out.println("Could not open file LABEX10.txt");
          System.exit(0);
      }catch(IOException ex){
          System.err.println(ex);
      }
  }
  </code></pre>
  
  <p>}</p>