title: illegal start of expression in line 22
body: <p>I am a beginner,I'm having problem with my very first code.I just trying to solve coupling shaft alignment. </p>
  
  <p>It says, "illegal start of expression".Can someone help me with this problem? thanks</p>
  
  <p>Here's my code:</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Front {
  
       public static void main(String []args){
  
           Scanner input = new Scanner(System.in);
  
           Double A = input.nextDouble();
           Double B = input.nextDouble();
           Double C = input.nextDouble();
           Double S = input.nextDouble();
           Double M = input.nextDouble();             
  
           Double F = B / A * (S-M)/2 - S/2;
  
           System.out.println("The front foot is: " + F +); 
       }
  }
  </code></pre>