// fahrenhit to centigrade
import java.io.*;
class ssvfc
{
public static void main(String arg[]) throws IOException
{
String s1;
double t1,t2;
DataInputStream dr = new DataInputStream(System.in);
System.out.println("\nEnter the centigrade in temperature : ");
s1 = dr.readLine();
t1 = Double.parseDouble(s1);
t2 = (t1 -32)/1.8;
System.out.println("\nThe temperature in farenhit is : " +t2);
}
}In this program, easy to understand to calculate Fahrenheit to centigrade using Java Program.
