title: I'm not sure what to do with my code. fraction conversions
body: <p>I'm not sure what to add to <code>//Sample 3</code>, can anyone help me out and tell me what I'm doing wrong? I'm writing to write the final part where else if the improper fraction converts to a whole integer, but i don't know how to write that</p>
  
  <pre><code>package ch2_project;
  
  import java.util.Scanner;
  
  public class Ch2_project {
  
      public static void main(String[] args) {
          Scanner input = new Scanner(System.in);
          System.out.print("Enter a numerator: ");
          int numerator = input.nextInt();
          System.out.print("Enter a denominator: ");
          int denominator = input.nextInt();
  
          if (numerator &lt; denominator)
          {  
              System.out.println(numerator + " / " + denominator + " is a proper     fraction"); // Sample 2
          }
          else
          {
              int mix = numerator / denominator;
              int remainder = numerator % denominator;    
              System.out.println(numerator + " / " + denominator + " is a improper fraction and it's mixed fraction is " + mix + " and " remainder + " / " + denominator);// Sample 1
          }
          else if ()
          {
              int whole = numerator / denominator 
              System.out.println(numerator + " / " + denominator + " is an improper fraction and it can be reduced to " + whole);//Sample 3      
          }  
      }
  
  }
  </code></pre>