Problems with Billions of Booleans


#1

I feel like I am doing this correctly but I keep getting this error message:

(ruby):1: syntax error, unexpected tGVAR, expecting $end
test_1 = ( 20 > 10 ) $$ ( 30 > 20 ) // true
^

Help please!

# test_1 should be true
test_1 = ( 20 > 10 ) && ( 10 < 20 ) // true

# test_2 = should be true
test_2 = ( 100 == 100 ) || ( 90 == 100 ) // true

# test_3 = should be false
test_3 = ( 100 == 100 ) && ( 90 != 90 ) // false


#2

Delete all these //true , //true and //false
Comments in Ruby


#3

Thank you. This worked!


#4

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