Albert3069

5 weeks project - 202007032 최윤솔

May 3rd, 2020
366
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5.     double f_temp;
  6.     double c_temp;
  7.  
  8.     printf("화씨온도를 입력하시오\n");
  9.     scanf("%lf", &f_temp);
  10.     c_temp =(double) 5 / 9 * (f_temp - 32);
  11.     printf("섭씨온도는 %f입니다.", c_temp);
  12.  
  13.     return 0;
  14. }
RAW Paste Data