C中的程序正确启动,但printf不显示任何内容

C中的程序正确启动,但printf不显示任何内容,c,C,我运行程序,控制台出现,但printf没有打印任何东西, 我怎样才能解决这个问题 #include<stdio.h> main() { float fa; int cel; cel=0; while(cel<=200); { fa=9.000*(cel+32.000)/5.000; printf("%d\t%.3f\n",cel,fa); cel=cel+20; } } #包括 m

我运行程序,控制台出现,但printf没有打印任何东西, 我怎样才能解决这个问题

#include<stdio.h>
main()
{
    float fa;
    int cel;
    cel=0;
    while(cel<=200);
    {
        fa=9.000*(cel+32.000)/5.000;
        printf("%d\t%.3f\n",cel,fa);
        cel=cel+20;
    }
}
#包括
main()
{
浮动fa;
int cel;
cel=0;
而(cel无限循环:

while(cel<=200);

这意味着永远不会到达
printf()
,也永远不会修改
cel
。请删除
以更正。

请删除分号

while(cel<=200)  
while(cel@user2661456新用户。。
while(cel<=200) {}
while(cel<=200)  
#include<stdio.h>
main()
{
    float fa;
    int cel;
    cel=0;
    while(cel<=200) // semicolon removed here
    {
        fa=9.000*(cel+32.000)/5.000;
        printf("%d\t%.3f\n",cel,fa);
        cel=cel+20;
    }
}