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.


+6 votes

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

asked in CSC211_Winter2018 by (8 points)

1 Answer

+2 votes
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 (8 points)
selected by