Having problems with a java program
<p>I have a <strong>Fahrenheit</strong> class thats supposed to take a number from the main class and convert it into celsius. 
Everything works but the conversion part. 
I made a method that I call so that the number can be converted, but whenever the program runs it gives me either -0.0 or 0.0 (no matter what the number is) I know that the negative part is correct but i just need it to show the actual converted number.</p>

<p>It has been an entire year since I've done any sort of java programming and I'm still a beginner.I've looked up the java docs to get a refresher and wrote simple simple programs to get back in the game but im lost with this one. please any input would be helpful </p>

<p>heres the main class</p>

<pre><code>public class test { 
  public static void main (String[] args) {
    double t = 100;

    Fahrenheit temp = new Fahrenheit(t);

    temp.convert();

  }
}
</code></pre>

<p>and the fahrenheit class</p>

<pre><code>public class Fahrenheit{

 private double tempF = 0;

 public Fahrenheit (double inputTemp){
    tempF = inputTemp;
 }

public double convert () {

    double c = 5/9*(tempF-32);

    System.out.println(c );
    return c;
 }
}
</code></pre>
