From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

CLAD题库里这道题目的答案是不是有问题?

已解决!
转到解答

123.JPG

实际是当i输出为50时循环停止,但是i输出为50时,while循环不是已经执行了51次了吗?

0 项奖励
1 条消息(共 3 条)
2,050 次查看
解答
已被主题作者 Leisure_ksj 接受

是的,i=50时,While Loop 运行51次。

0 项奖励
2 条消息(共 3 条)
2,029 次查看

是的。应该运行了51次才停止。i从0开始计数。

0 项奖励
3 条消息(共 3 条)
1,907 次查看