a = 0 For i = 1 To 3 For j = 1 To i For k = j To 3 a = a + 1 Next k Next j Next i Print a
a = 0
For i = 1 To 3
For j = 1 To i
For k = j To 3
a = a + 1
Next k
Next j
Next i
Print a 这里循环了几次
是怎样循环的
a = 0 For i = 1 To 3 For j = 1 To i For k = j To 3 a = a + 1
答案:1 悬赏:0 手机版
解决时间 2021-08-16 19:26
- 提问者网友:杀手的诗
- 2021-08-16 15:38
最佳答案
- 五星知识达人网友:鸠书
- 2021-08-16 16:49
14次,i=1时3次,i=2时5次,i=3是6次
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯