Fahrenheit to Celsius converter

Fahrenheit to Celsius converter

an example of the actual methods involved in conversion:

an example of the run method or the public main void method to go along with the previous methods shown is down below:

There are some mistakes in the code so I will either redo these or make a video debugging them.

*Actually as far as I can tell the only issue is tytemp being the same as what you gave the program so, for it to work properly just split and move it into the if and else and put the proper notation. So like this:

if(tytemp.substring(0,2).equals(“fa”))
{
test.setFahren(num);
n = test.getCel();
System.out.print(n + “is the temperture in Celsius”);
}
else
{
test.setCel(num);
n = test.getFahren();
System.out.print(n + “is the temperture in fahrenheight”);
}