热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_54195546
有胆有识黑曜石
5 年前
trueweixin_54195546

有没有大佬告诉我为什么是121啊,我怎么觉得是212呢。(本人是刚学c语言的小白,不要喷我啊)




#include <stdio.h>
int main()
{
int a=1,b=2,c=3,t;
while(a<b<c)
{
t=a;a=b;b=t;c--;
}
printf("%d,%d,%d",a,b,c);
}



你问我答
CSDN App 扫码分享
分享
1
点赞
打赏
  • 复制链接
  • 举报
下一条:
有没有大佬告诉我为什么是121啊,我怎么觉得是212呢。(本人是刚学c语言的小白,不要喷我啊)#include <stdio.h>int main(){ int a=1,b=2,c=3,t; while(a<b<c) { t=a;a=b;b=t;c--; } printf("%d,%d,%d",a,b,c);}
立即登录