int line = 0;
while(line<100)
//使用while实现循环
{
printf("写代码%d\n", line);
line++;
}
if (line == 100)
{
printf("好offer\n");
}
使用while实现我们的循环
当line到100就会跳出循环
int line = 0;
while(line<100)
//使用while实现循环
{
printf("写代码%d\n", line);
line++;
}
if (line == 100)
{
printf("好offer\n");
}
使用while实现我们的循环
当line到100就会跳出循环