This problem is in Contest(s) below:
Contest 1258:第四章作业一软工b223224
Contest 1303:选择结构
Contest 1220:第四章上机练习课