Sha256: f8635173bfbc76e9ea62007897dad574ed99e0aaa52e750712506b1fe056c251
Contents?: true
Size: 214 Bytes
Versions: 2
Compression:
Stored size: 214 Bytes
Contents
# section_4/part_3/answer.rb # 4-3-case.rb def gree() country = STDIN.gets.chomp case country when 'Japan' then puts 'こんにちは' when 'USA' then puts 'Hello' else print 'else' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_learner-1.2.0 | contents/questions/sequential_check/section_4/part_3/lib/answer.rb |
ruby_learner-1.1.15 | questions/sequential_check/section_4/part_3/lib/answer.rb |