第23361题 单选题
给定字符串加密规则,选择代码中正确的条件判断语句

模拟“字符串加密”:规则为“每个字符ASCII码+3,若超过z(122)则从a重新开始”,以下代码中正确的条件判断是:( )

for (int i = 0; i < str.length(); i++) {
    // 需补充条件:
    _______________________
    else {
        str[i] += 3;
    }
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析