Hello everyone, I am back yet with another question, I receive -0.0 20 times, well actually 19 , even though I need 20
double temp=20;
for(int index = 1; index < temp; index++)
{
celsius(index);
}
}
public static double celsius(double temperature)
{
double celsius;
celsius = (5/9) * ( temperature - 32);
System.out.println(celsius);
return celsius;
}