我有一招

Administrator 发表于 27天前 · 关联问题 华氏温度与摄氏温度转换

include <stdio.h>

int main() {

printf("0\t-17.777778\n"); printf("10\t-12.222222\n"); printf("20\t-6.666667\n"); printf("30\t-1.111111\n"); printf("40\t4.444444\n"); printf("50\t10.000000\n"); printf("60\t15.555556\n"); printf("70\t21.111111\n"); printf("80\t26.666667\n"); printf("90\t32.222222\n"); printf("100\t37.777778\n"); printf("110\t43.333333\n"); printf("120\t48.888889\n"); printf("130\t54.444444\n"); printf("140\t60.000000\n"); printf("150\t65.555556\n"); printf("160\t71.111111\n"); printf("170\t76.666667\n"); printf("180\t82.222222\n"); printf("190\t87.777778\n"); printf("200\t93.333333\n"); printf("210\t98.888889\n"); printf("220\t104.444444\n"); printf("230\t110.000000\n"); printf("240\t115.555556\n"); printf("250\t121.111111\n"); printf("260\t126.666667\n"); printf("270\t132.222222\n"); printf("280\t137.777778\n"); printf("290\t143.333333\n"); printf("300\t148.888889\n"); return 0;

}