首页 > 其他分享 >for循环

for循环

时间:2022-10-21 22:00:55浏览次数:36  
标签:10 int haha else ++ 循环 printf

int i = 0;

for (i = 0; i < 10; i++)

{

 if (i== 5)

  printf("haha\n");

 else

 printf("hehe\n");

}

标签:10,int,haha,else,++,循环,printf
From: https://blog.51cto.com/u_15838933/5784607

相关文章