int score = 60; if(x>100&&y>500) score=score+1; if(x>=1000||z>5000) score=score+5;
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 11:56:30
intscore=60;if(x>100&&y>500)score=score+1;if(x>=1000||z>5000)score=score+5;intscore=60;if(x>100&&y>5
int score = 60; if(x>100&&y>500) score=score+1; if(x>=1000||z>5000) score=score+5;
int score = 60; if(x>100&&y>500) score=score+1; if(x>=1000||z>5000) score=score+5;
int score = 60; if(x>100&&y>500) score=score+1; if(x>=1000||z>5000) score=score+5;
分数变量初始值为60
当x大于100并且y大于500的时候,分数值加1
当x大于1000或者z大于5000的时候,分数值加5