Sha256: f6b5657dc86a17785fc4d6d1ccee8c70feb3195563a2f50019f3d6ae6890d25e

Contents?: true

Size: 150 Bytes

Versions: 27

Compression:

Stored size: 150 Bytes

Contents

num0 = ARGV[0].to_i
num1 = ARGV[1].to_i

sum = num0 + num1
dif = num0 - num1
pro = num0 * num1
quo = num0 / num1

puts sum
puts dif
puts pro
puts quo

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby_learner-1.2.9 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.8 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.7 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.6 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.5 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.4 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.3 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.2 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.1 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.2.0 contents/takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.15 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.14 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.13 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.11 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.10 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.9 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.8 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.7 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.6 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.5 takahashi/sample_prog/answer/2_2.rb