Ruby Help Billions of Booleans


#1

I'm getting an error message back that my value for line is incorrect. Can someone please help. Thanks,

test_1 = (7 > 1) && (9 > 1) // true

test_2 = (7 == 7) || (1 == 1) // true

test_3 = ! (3 > 9)


#2

This yields, true. Change it to !(3 < 9) so you NOT a true, which toggles to false.


#3

I did, but now it's telling me the value for test 1 isn't correct.

test_1 = (7 > 1) && (9 > 3) // true

test_2 = (7 == 7) || (1 == 1) // true

test_3 = !(3 < 9)


#4

Your code contains JS // comments instead of Ruby #.


#5

Got it that worked. Thanks


#6

A post was split to a new topic: It says to put an equation after every = sign and I'm so confused


#9

A post was split to a new topic: It wont let me pass on


#10