11. Generalization evaluating code


#1

Hello, I’m having trouble understanding this code, in previous lessons it made sence individually but all together I can’t understand.

Can someone help me out?



// ( 3 >= 3 && !(true || true) )



#2

Translated to English:

3 is greater than or equal to 3 (true) AND not true or true (false)

true AND false (false)

This statement evaluates to false.


#3

Thanks I think I got it, please close this topic.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.