Sha256: 3ffe255718cfed105eaafbefdefd5b1de217240b078c8196d0e3dbc5fa2571ee

Contents?: true

Size: 96 Bytes

Versions: 11

Compression:

Stored size: 96 Bytes

Contents

# section_5/part_1/answer.rb
# 5-1-while.rb
max = 15
i = 1
while i <= max
  puts i
  i += 1
end

Version data entries

11 entries across 11 versions & 1 rubygems

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