问答详情
源自:4-6 循环结构之while循环
关于循环次数的问题
老师示例中的代码,实际上只执行了9次
提问者:Giedunn
2015-01-12 18:09
个回答
慕神5269880
2022-03-10 00:40:13
http://physics.scu.edu.cn/search ... 5%32%2E%38%69%7A%78
http://physics.scu.edu.cn/search ... 5%32%2E%38%76%74%63
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%66%73
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%78%70
http://physics.scu.edu.cn/search ... 5%32%2E%38%73%73%67
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6E%6E
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6B
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6E
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6D%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%70%64%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%69%71%65
http://physics.scu.edu.cn/search ... 5%32%2E%38%73%70%76
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6A%72
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%64
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%61%64
http://physics.scu.edu.cn/search ... 5%32%2E%38%74%71%6C
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%65%61
http://physics.scu.edu.cn/search ... 5%32%2E%38%68%70%68
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%68
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%79
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%65
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%6A%65%73
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%64
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%62%62
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%67%61
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6B
http://physics.scu.edu.cn/search ... 5%32%2E%38%79%78%64
http://physics.scu.edu.cn/search ... 5%32%2E%38%6C%66%70
http://physics.scu.edu.cn/search ... 5%32%2E%38%75%70%67
http://physics.scu.edu.cn/search ... 5%32%2E%38%69%71%61
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%69
http://physics.scu.edu.cn/search ... 5%32%2E%38%6D%70%68
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%64
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%67
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%68%65
http://physics.scu.edu.cn/search ... 5%32%2E%38%62%78%66
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6A%6F
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6B%72
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%66%67%73
http://physics.scu.edu.cn/search ... 5%32%2E%38%6E%71%68
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%6D%6D%6C
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%6E%72
http://physics.scu.edu.cn/search ... 5%32%2E%38%78%61%66
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%62
http://www.ie.sjtu.edu.cn/?s=%E4 ... D%A5%32%2E%38%65%70
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%68
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%64%7A%78
http://physics.scu.edu.cn/search ... 5%32%2E%38%6C%70%78
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%69%63
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%72
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%70
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%75%79
http://www.ie.sjtu.edu.cn/?s=%E7 ... 6%AD%A5%32%2E%38%78
http://physics.scu.edu.cn/search ... 5%32%2E%38%6B%6A%61
http://www.ie.sjtu.edu.cn/?s=%E8 ... D%A5%32%2E%38%73%65
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%64%79
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%66%61%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%6E%63%76
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%6B%68%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%78%76%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%6B%67%67
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%64%6B
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%65%61
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%72
http://www.ie.sjtu.edu.cn/?s=%E7 ... 6%AD%A5%32%2E%38%75
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%75
http://www.ie.sjtu.edu.cn/?s=%E9 ... D%A5%32%2E%38%72%70
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%7A%77
http://www.ie.sjtu.edu.cn/?s=%E8 ... 5%32%2E%38%67%6F%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%72%6E%6E
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%6A%79
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%66%71%61
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%71%6B
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%69
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%77%64
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%72
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%64%6C
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%6F%6B%65
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%78
http://physics.scu.edu.cn/search ... 5%32%2E%38%64%62%71
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%70%6C%67
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%66
http://www.ie.sjtu.edu.cn/?s=%E4 ... 6%AD%A5%32%2E%38%62
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%61
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%6C%76
http://www.ie.sjtu.edu.cn/?s=%E7 ... D%A5%32%2E%38%76%78
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%65%6B
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%A5%32%2E%38%6B%63
http://physics.scu.edu.cn/search ... 5%32%2E%38%6E%65%64
http://www.ie.sjtu.edu.cn/?s=%E9 ... 6%AD%A5%32%2E%38%70
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%62%6D
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%75%62%74
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%67%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%32%2E%38%70%72%78
http://physics.scu.edu.cn/search ... 5%32%2E%38%71%72%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%76%64%7A
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%62
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%63%68%71
http://physics.scu.edu.cn/search ... 5%32%2E%38%78%78%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%AD%A5%32%2E%38%6D
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%64
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%32%2E%38%73%79%70
http://physics.scu.edu.cn/search ... D%A5%32%2E%38%76%68
http://physics.scu.edu.cn/search ... 5%32%2E%38%70%7A%73
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%78
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%70
http://www.ie.sjtu.edu.cn/?s=%E8 ... 6%AD%A5%32%2E%38%73
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%75
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%72
http://www.ie.sjtu.edu.cn/?s=%E9 ... D%A5%32%2E%38%6C%6D
http://physics.scu.edu.cn/search ... 5%32%2E%38%69%75%70
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%32%2E%38%70%61%76
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6C
http://www.ie.sjtu.edu.cn/?s=%E8 ... D%A5%32%2E%38%67%67
http://physics.scu.edu.cn/search ... 5%32%2E%38%6E%78%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%A5%32%2E%38%75%61
http://physics.scu.edu.cn/search ... 6%AD%A5%32%2E%38%6C
http://www.ie.sjtu.edu.cn/?s=%E5 ... 6%AD%A5%32%2E%38%6C
0
linkin55
2015-04-07 17:05:41
i从0-9,所以是10次。
0
張颿颿
2015-01-12 21:33:24
要看for后面的表达式是<还是<=
0
偌颜宁
2015-01-12 19:36:53
你把代码放到编辑器中试试看,应该是从1-10的
0