Sha256: 7741833bf74b572d6b1cb76a2d0fc6bdfec4f5020b48320639081cc0d3397a15

Contents?: true

Size: 266 Bytes

Versions: 11

Compression:

Stored size: 266 Bytes

Contents

# section_4/part_1/answer.rb
# 4-1-trueAndFalse.rb
a = 50
b = 50

# output following results
p a == b # a == b
p a != b # a != b

a = 50
b = 150

p a > b # a > b
p a < b # a < b

c = 10
d = 10

p a < b && c == d # a < b && c == d
p a < b || c == d # a < b || c == d

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby_learner-1.2.9 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.8 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.7 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.6 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.5 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.4 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.3 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.2 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.1 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.2.0 contents/questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.15 questions/sequential_check/section_4/part_1/lib/answer.rb