Sha256: 945dbe52f7dd66068d4255e47755ec45d15b662975d5fee78af62235b252acb0

Contents?: true

Size: 119 Bytes

Versions: 16

Compression:

Stored size: 119 Bytes

Contents

# section_4/part_1/answer.rb
# 4-1-if.rb
a = ARGV[0].to_i

if a >= 10
  print "greater\n"
else
  print "smaller\n"
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_learner-1.2.0 contents/questions/sequential_check/section_4/part_2/lib/answer.rb
ruby_learner-1.1.15 questions/sequential_check/section_4/part_2/lib/answer.rb
ruby_learner-1.1.14 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.13 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.11 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.10 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.9 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.8 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.7 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.6 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.5 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.4 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.3 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.2 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.1 questions/sequential_check/section_4/part_1/lib/answer.rb
ruby_learner-1.1.0 questions/sequential_check/section_4/part_1/lib/answer.rb