convert fahrenheit to celsius in java

Previous
Next

In this tutorial, we will see simple java program to convert fahrenheit to celsius in java.
You can convert fahrenheit to celsius using this formula.

cel = (fh-32) / 1.8;

Output:

Enter Temperature in Fahrenheit : 79
Equivalent Temperature in Celsius : 26.11111111111111

Previous
Next

Join Our News Letter – Stay Updated

Subscribe to Awesome Java Content.




Add Comment

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.
You can like our facebook page Java2blog