Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+6 votes

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

asked in CSC211_Winter2018 by (1 point)

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 (1 point)
selected by
...