fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main (void)
  4. {
  5. int F,T;
  6.  
  7. scanf("%d",&T);
  8.  
  9. printf("輸入華氏溫度:%d\n",T);
  10.  
  11. F = 9*T/5+32;
  12.  
  13. printf("攝氏溫度是:%d",F);
  14. return 0;
  15.  
  16. }
  17.  
Success #stdin #stdout 0s 5284KB
stdin
25
stdout
輸入華氏溫度:25
攝氏溫度是:77