close
import java.io.*;
public class question03 {
public static void main(String args[])throws IOException {
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
System.out.print("請輸入攝氏溫度:");
double c=Integer.parseInt(buf.readLine());
double f=c*9/5+32;
System.out.println("華氏溫度為:"+f);
}
}
全站熱搜
留言列表