class Test
{
public static void main(String[] args)
{
System.out.print("请输入华氏温度:");
Scanner in=new Scanner(System.in);
double hua=in.nextDouble();
double she=5/9.0*(hua-32);
System.out.println();
System.out.println("华氏度为:"+hua);
System.out.printf("摄氏度为:%.2f",she);
}
}