this is my code, the problem the compiler is saying is i need an extra parentheses after 5 in get fahr, but i know that cant be it... help meeeeeee please :)
public double getFahr()
{
if (tempUnit.equals('C'))
{
return (5(tempNum-32)/9);
}
else
{
return tempNum;
}
}
public double getCels()
{
if (tempUnit.equals('F'))
{
return(9(tempNum)/5)+32);
}
else
{
return tempNum;
}
}