Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add multiply #3

Merged
merged 2 commits into from

2 participants

@ichinohe

add multiply

@patu90da patu90da merged commit 6d01ac3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2012
  1. @ichinohe

    Add function.

    ichinohe authored
  2. @ichinohe

    Modify.

    ichinohe authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 calc.rb
View
4 calc.rb
@@ -15,4 +15,8 @@ def div( op1, op2 )
return op1/op2
end
+def multiply(a, b)
+ a * b
+end
+
p div(10,4)
Something went wrong with that request. Please try again.