第19748题 单选题
补全计算星期六后第N天星期数的C++代码中横线处的表达式

今天是星期六,其后第N天的星期数计算规则为:星期一到星期六输出形如星期1、星期2等,星期天则输出星期天。以下C++代码用于实现该功能,请补全横线处的表达式:

int N, remainder;
cin >> N;
remainder = _____________;
if(remainder == 0)
    printf("星期六后第%d天是星期天\n", N);
else
    printf("星期六后第%d天是星期%d\n", N, remainder);
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析