当前位置:网站首页>Initial knowledge of while cycle

Initial knowledge of while cycle

2020-12-08 10:41:58 osc_ 6jhxf9ab

Study b Station bit technology c The second day of the language course
First time to know while loop
#include <stdio.h>

int main()
{
int line = 0;
printf(" study hard \n");


while(line<20000)
{
    printf(" Day day up : %d\n", line);
    line++;
}
if(line>=20000)
    printf(" Reach the peak of life \n");
return 0;

}

版权声明
本文为[osc_ 6jhxf9ab]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201208104126232m.html