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.1.4 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.3 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.2 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.1 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.1.0 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.0.1 takahashi/sample_prog/answer/2_2.rb
ruby_learner-1.0.0 takahashi/sample_prog/answer/2_2.rb