// Das Programm in version 1.1 das heißt mit Eingabe *g*
import java.lang.*;
import java.io.*;

public class celsius2
{
public static void main (String[] args)
			throws IOException
{
double fahrenheit;
double celsius;

System.out.println();
System.out.print ("Temperatur in Fahrenheit: ");
// Verbindung zur Tastertur herstellen *g*

BufferedReader tastertur = new BufferedReader(new InputStreamReader(System.in));

String eingabe = tastertur.readLine();
fahrenheit = Double.parseDouble(eingabe);
celsius = (fahrenheit - 32) * 5.0 / 9.0;

// Nachkommer stellen kürzen z.B. 22,9 
int temp = (int) (celsius * 100.0);
celsius = temp / 100.0;

System.out.println();
System.out.println (fahrenheit + " Fahrenheit entsprechen "  + celsius + " Grad Celsius");
}
}