true or false and true or false结果怎么算

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/02 03:56:53
trueorfalseandtrueorfalse结果怎么算trueorfalseandtrueorfalse结果怎么算trueorfalseandtrueorfalse结果怎么算andornot的优

true or false and true or false结果怎么算
true or false and true or false结果怎么算

true or false and true or false结果怎么算
and or not的优先级为not > and >or
先算优先级高的然后算优先级低的,同级的先左后右.
所以运算的过程为
(1)false or false and true or true
(2)false or false or true
(3) false or true
(4) true