Skip to content
Browse files

add minus method-----

close #5
  • Loading branch information...
1 parent c803a4e commit 83b3fd8b62deae496d77b6ebc2c3851ef2e5419c @radioboo radioboo committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 calc.rb
View
4 calc.rb
@@ -23,3 +23,7 @@ def plus( operand1, operand2 )
def multiply(a, b)
a * b
end
+
+def minus(op1, op2)
+ return op1 - op2
+end

0 comments on commit 83b3fd8

Please sign in to comment.
Something went wrong with that request. Please try again.