解题思路:
注意事项:
参考代码:
#include<stdio.h>
int ctof(int c)
{
return 32+c*9/5;
}
int main()
{
int a,c;
for(a=-100;a<=150;a=a+5){
printf("c=%d->f=%d\n",a,ctof(a));
}
return 0;
}
0.0分
0 人评分
C语言训练-亲密数 (C语言代码)浏览:684 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:612 |
C语言程序设计教程(第三版)课后习题9.3 (C语言代码)浏览:683 |
1025题解浏览:749 |
sizeof的大作用 (C语言代码)浏览:1070 |
判定字符位置 (C语言代码)浏览:803 |
A+B for Input-Output Practice (IV) (C语言代码)浏览:509 |
C语言程序设计教程(第三版)课后习题9.1 (C语言代码)浏览:573 |
C二级辅导-等差数列 (C语言代码)浏览:791 |
简单的a+b (C语言代码)浏览:246 |