以下哪个逻辑表达式可正确判定游戏玩家具备相对较高的力量或速度属性?

dz183477 单选题 共 个子题

判定规则:设玩家力量属性为变量strength,速度属性为变量speed,当strength > 8 且 speed < 3,或者 strength <= 3 且 speed > 8时,判定玩家具备相对较高的力量或速度属性。

A

(strength > 8 and speed < 3) and (strength <= 3 and speed > 8)

B

((strength > 8) or (speed < 3)) and ((strength <= 3) or (speed > 8))

C

((strength > 8) and (speed < 3)) or ((strength <= 3) and (speed > 8))

D

(strength > 8 or speed < 3) or (strength <= 3 or speed > 8)

正在加载题目数据…
已答 /
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析
讨论
发布
登录后参与讨论 立即登录
发布讨论需先绑定并验证手机号 去绑定手机号
加载中…
我
我
回复 @
回复 @
发送
还没有人讨论,来发表第一条吧