title: Displaying the names and times of the first and second winners of a marathon
body: <p>I would like your help here guys </p>
  
  <p>/**
   * In this assignment I am supposed to display the names and times of the first and second winners (2 best times) of a marathon
   * But I am struggling with the second one
   */</p>
  
  <pre><code>public class MitAssignment3Chapter7 {
  public static void main(String args[]){
  
      String runners[] = {"Gene","Elvis","Presley","Felicity","Welcome"};
      int[] timeInMinutes = {40,50,76,56,62};
  
      int index = 0;
      int a = 0;
      int first = timeInMinutes[1];
  
      for (a = 0 ; a &lt; timeInMinutes.length; a++){
          if ( first &gt; timeInMinutes[a]){
              index = a;
              first = timeInMinutes[index];
          }
         // if (first &lt; timeInMinutes[a] &amp;&amp; timeInMinutes[a])  Trying to do the second here
      }
      System.out.println("The winner of the marathon is: "+runners[index]+" with "+timeInMinutes[index]+" minutes");
  
  }
  </code></pre>
  
  <p>}</p>