> 数学 >
int score = 60; if(x>100&&y>500) score=score+1; if(x>=1000||z>5000) score=score+5;
人气:412 ℃ 时间:2020-04-17 11:15:11
解答
分数变量初始值为60
当x大于100并且y大于500的时候,分数值加1
当x大于1000或者z大于5000的时候,分数值加5
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版