摄氏温度——华氏温度对照表
/* 功能:摄氏温度——华氏温度对照表 日期:2013-05-08 */ #include <stdio.h> #include <stdlib.h> #include <math.h> int main(void) { int C; double F; printf(“摄氏温度 华氏温度n”); C = 0; F = C; do { F = (double)C * 9 / 5 + 32.0; printf(“%d %.2lfnn”,C,F); C += 5; }while(C <= 100); printf(“n”); system(“pause”); return 0; }
Preview
除特别注明外,本站所有文章均为 Windcoder网 原创,转载请注明出处来自: celsius-fahrenheit-chart
Loading comments...

Preview
No Data