第24590题 单选题
默认小猫角色执行给定Scratch程序,运行后result的值是?

默认小猫角色,执行如下Scratch积木程序:

  1. 当绿旗被点击后,初始化变量i1result0
  2. 重复执行直到 i > 100
    • 如果i 除以 2 的余数 = 0,则继续判断:
      • 如果i 除以 5 的余数 = 0i 除以 3 的余数 = 0,则将result的值增加i
    • 每次循环结束将i增加1

请问程序运行完成后result的值是?

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析