title: Temperature conversion code in Java won't run?
body: <p>Ok,so I'm a complete novice at programming and I just started coding in Java. I tried to write a code for temperature conversion (Celsius to Fahrenheit) and for some reason it simply won't run! Please, help me find out errors in this code(however silly it may be).</p>
  
  <p>Here's the code:</p>
  
  <pre><code>  package tempConvert;
  
    import java.util.Scanner;
  
    public class StartCode {
  
        Scanner in = new Scanner(System. in );
  
        public double tempInFarenheit;
  
        public double tempInCelcius;
  
        {
            System.out.println("enter the temp in celcius");
  
            tempInCelcius = in .nextDouble();
  
            tempInFarenheit = (9 / 5) * (tempInCelcius + 32);
  
            System.out.println(tempInFarenheit);
        }
    }
  </code></pre>