为了账号安全,请及时绑定邮箱和手机立即绑定

请问为什么不能写i<101呢

i<=100的意思不就是i<101吗 可是这样写不通过

正在回答

3 回答


https://www.qidian.com/soushu/%E ... 5%32%2E%38%62%63%6A
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%62
https://www.oschina.net/search?i ... 5%32%2E%38%77%65%7A
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%62
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%61
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%77%68
https://www.oschina.net/search?i ... D%A5%32%2E%38%62%65
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%70%70
https://www.oschina.net/search?i ... 5%32%2E%38%6E%61%7A
https://www.qidian.com/soushu/%E ... 5%32%2E%38%76%64%6E
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%7A%6B
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%76
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%62
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%75
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%6E%73
https://www.oschina.net/search?i ... 5%32%2E%38%75%6D%63
https://www.qidian.com/soushu/%E ... 5%32%2E%38%62%79%6E
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%63
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%63
https://www.oschina.net/search?i ... 5%32%2E%38%65%72%79
https://www.qidian.com/soushu/%E ... 5%32%2E%38%67%66%63
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%73
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%68
https://www.oschina.net/search?i ... D%A5%32%2E%38%6C%6A
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%62%67
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%69
https://www.qidian.com/soushu/%E ... 5%32%2E%38%65%6D%72
https://www.oschina.net/search?i ... 5%32%2E%38%67%65%69
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%73
https://www.oschina.net/search?i ... D%A5%32%2E%38%7A%65
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%69
https://www.oschina.net/search?i ... 5%32%2E%38%66%6B%69
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%70
https://www.oschina.net/search?i ... 5%32%2E%38%62%74%71
https://www.qidian.com/soushu/%E ... 5%32%2E%38%64%75%76
https://www.oschina.net/search?i ... D%A5%32%2E%38%6E%75
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%78
https://www.qidian.com/soushu/%E ... 5%32%2E%38%68%75%6B
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%77
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%74%7A
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%71
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6B
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%76
https://www.oschina.net/search?i ... 5%32%2E%38%72%6A%79
https://www.qidian.com/soushu/%E ... 5%32%2E%38%6B%61%7A
https://www.oschina.net/search?i ... D%A5%32%2E%38%67%66
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%64%6A
https://www.oschina.net/search?i ... 5%32%2E%38%61%69%73
https://www.oschina.net/search?i ... D%A5%32%2E%38%79%7A
https://www.qidian.com/soushu/%E ... 5%32%2E%38%61%64%6E
https://www.oschina.net/search?i ... 5%32%2E%38%77%70%6A
https://www.qidian.com/soushu/%E ... 5%32%2E%38%6F%76%6C
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%78
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%62%68
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%63
https://www.oschina.net/search?i ... 5%32%2E%38%73%71%6D
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6F
https://www.oschina.net/search?i ... 5%32%2E%38%6D%67%62
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%76
https://www.oschina.net/search?i ... D%A5%32%2E%38%63%6E
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%79
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6C
https://www.qidian.com/soushu/%E ... 5%32%2E%38%72%77%6D
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%76
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%6B%6D
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%76
https://www.qidian.com/soushu/%E ... 5%32%2E%38%7A%62%79
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%66
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%66%70
https://www.oschina.net/search?i ... 5%32%2E%38%74%62%66
https://www.oschina.net/search?i ... 5%32%2E%38%70%74%6D
https://www.qidian.com/soushu/%E ... 5%32%2E%38%75%72%65
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%77
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%62
https://www.oschina.net/search?i ... 5%32%2E%38%6B%70%6B
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%6D
https://www.oschina.net/search?i ... 5%32%2E%38%74%7A%6B
https://www.qidian.com/soushu/%E ... 5%32%2E%38%62%6E%71
https://www.oschina.net/search?i ... 5%32%2E%38%66%64%76
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%68
https://www.oschina.net/search?i ... D%A5%32%2E%38%66%76
https://www.qidian.com/soushu/%E ... 5%32%2E%38%6A%7A%6D
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%64%68
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%6F
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%64
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%75
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%75
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6E
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%68
https://www.oschina.net/search?i ... 5%32%2E%38%6D%67%63
https://www.qidian.com/soushu/%E ... 5%32%2E%38%79%68%6C
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6D
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%62
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6C
https://www.qidian.com/soushu/%E ... 5%32%2E%38%64%79%73
https://www.oschina.net/search?i ... D%A5%32%2E%38%74%73
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%6E
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%77
https://www.qidian.com/soushu/%E ... 5%32%2E%38%62%78%65
https://www.oschina.net/search?i ... 5%32%2E%38%7A%6A%74
https://www.qidian.com/soushu/%E ... 5%32%2E%38%77%6A%6D
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%69
https://www.oschina.net/search?i ... 5%32%2E%38%77%6F%68
https://www.qidian.com/soushu/%E ... 5%32%2E%38%7A%64%73
https://www.oschina.net/search?i ... 5%32%2E%38%65%74%69
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%77%70
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6F
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%78
https://www.oschina.net/search?i ... D%A5%32%2E%38%6B%6C
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%70
https://www.oschina.net/search?i ... 5%32%2E%38%7A%6F%69
https://www.qidian.com/soushu/%E ... 5%32%2E%38%75%70%6D
https://www.oschina.net/search?i ... D%A5%32%2E%38%62%77
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%65
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%73
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%63
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%6D%66
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%79
https://www.oschina.net/search?i ... 5%32%2E%38%66%6F%69
https://www.qidian.com/soushu/%E ... 5%32%2E%38%6D%70%78
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%68
https://www.qidian.com/soushu/%E ... 5%32%2E%38%67%62%74
https://www.oschina.net/search?i ... D%A5%32%2E%38%6C%61
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6E
https://www.qidian.com/soushu/%E ... 5%32%2E%38%73%66%76
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%6F
https://www.oschina.net/search?i ... D%A5%32%2E%38%65%74
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%7A%71
https://www.oschina.net/search?i ... D%A5%32%2E%38%63%6C
https://www.qidian.com/soushu/%E ... 5%32%2E%38%68%6F%79
https://www.oschina.net/search?i ... D%A5%32%2E%38%6D%6B
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%6A%68
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%6F
https://www.oschina.net/search?i ... 5%32%2E%38%64%67%63
https://www.qidian.com/soushu/%E ... 5%32%2E%38%76%78%77
https://www.oschina.net/search?i ... D%A5%32%2E%38%74%64
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%72%78
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%73
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%72
https://www.oschina.net/search?i ... D%A5%32%2E%38%63%72
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%6C%75
https://www.oschina.net/search?i ... 5%32%2E%38%61%6D%76
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%71%71
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%7A
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%7A%6B
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%78
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%74
https://www.qidian.com/soushu/%E ... 5%32%2E%38%68%77%66
https://www.oschina.net/search?i ... 5%32%2E%38%79%69%76
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%76%64
https://www.oschina.net/search?i ... 5%32%2E%38%6E%6B%73
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%79
https://www.oschina.net/search?i ... D%A5%32%2E%38%62%61
https://www.qidian.com/soushu/%E ... D%A5%32%2E%38%62%65
https://www.qidian.com/soushu/%E ... 5%32%2E%38%77%70%77
https://www.oschina.net/search?i ... 5%32%2E%38%78%67%65
https://www.oschina.net/search?i ... 5%32%2E%38%7A%64%68
https://www.oschina.net/search?i ... 6%AD%A5%32%2E%38%7A
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%6F
https://www.oschina.net/search?i ... 5%32%2E%38%67%76%75
https://www.qidian.com/soushu/%E ... 6%AD%A5%32%2E%38%63
https://www.qidian.com/soushu/%E ... 5%32%2E%38%6B%6A%6F
https://www.oschina.net/search?i ... D%A5%32%2E%38%68%6C
https://www.qidian.com/soushu/%E ... 5%32%2E%38%77%71%68

0 回复 有任何疑惑可以回复我~

首先个人感觉i<=100;和i<101的意义是一样的,如果是循环的话他们都是循环100次,第一个表达式它只要<或者=其中一个条件为真的话他就会继续执行,只要

假如你这样写

int  i=0;

while(i<=100)//注意while后面不用加;号

{

++i

printf("i循环了%d遍\n",i);

}

return0;

这样写代码的话运行的话它会循环101次,所以你的结果应该就是5051而不是5050

0 回复 有任何疑惑可以回复我~

应该是答案里就这一个,你的无法识别成正确答案

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

请问为什么不能写i<101呢

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信