0
it only prints the true condition 7>5 true 7>8 false what would happen if both of them were true?
3 odpowiedzi
+ 1
if you want a double conditional statement, then you should use an "and" logical operator in between your conditions.
0
if it was 9 for example so it will type both of possible results
0
in CS logic of true and false comes like this
true or false = true
false and true = false
false and false = false
true or true = true