Advertisement
Guest User

Untitled

a guest
Oct 13th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #My Solution
  2. def subtract(num1, num2)
  3. return num1 - num2
  4. end
  5.  
  6. def multiply(num1, num2)
  7. return num1 * num2
  8. end
  9.  
  10. #Bloc Solution
  11.  
  12. def subtract(num1, num2)
  13. num1 - num2
  14. end
  15.  
  16. def multiply(num1, num2)
  17. num1 * num2
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement