Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+5 votes

does the && argument get grouped together due to the && precedent over the ||?

asked in CSC211_Winter2018 by (432 points)

1 Answer

+1 vote
 
Best answer

If there is a problem that is "x>5 || y<=8 && Z<5" then you look at the statements connecting with "&&" first because of the precedence over "||". The order of precedence is !, &&, and ||.

answered by (863 points)
selected by
...