Convert celsius to fahrenheit in java

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

fh = (1.8*cen) + 32;

Output:

Enter Temperature in Centigrade : 30
Equivalent Temperature in Fahrenheit = 86.0

Was this post helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *