📄 cent.c
字号:
/*-*//******************************************************** * Question: * * Why does this program print out: * * * * Celsius:101 Fahrenheit:213 * * * * and nothing else? * ********************************************************//*+*/#include <stdio.h>/* * This program produces a Celsius to Fahrenheit conversion * chart for the numbers 0 to 100. *//* the current Celsius temperature we are working with */int celsius;int main() { for (celsius = 0; celsius <= 100; ++celsius); printf("Celsius:%d Fahrenheit:%d\n", celsius, (celsius * 9) / 5 + 32); return (0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -