Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- double f_temp;
- double c_temp;
- printf("화씨온도를 입력하시오\n");
- scanf("%lf", &f_temp);
- c_temp =(double) 5 / 9 * (f_temp - 32);
- printf("섭씨온도는 %f입니다.", c_temp);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement