0

it only prints the true condition 7>5 true 7>8 false what would happen if both of them were true?

30th Jun 2016, 2:55 AM
pragati das
pragati das - avatar
3 Answers
+ 1
if you want a double conditional statement, then you should use an "and" logical operator in between your conditions.
30th Jun 2016, 10:44 AM
Gustavo Q.
Gustavo Q. - avatar
0
if it was 9 for example so it will type both of possible results
2nd Jul 2016, 12:43 PM
Elad Kipiani
Elad Kipiani - avatar
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
8th Jul 2016, 1:48 AM
Kimboo Rasta
Kimboo Rasta - avatar