Skip to content

Instantly share code, notes, and snippets.

@Kaeleigh
Last active May 6, 2019 01:47
Show Gist options
  • Save Kaeleigh/7c29141625af10c4a0e1064173da9f97 to your computer and use it in GitHub Desktop.
Save Kaeleigh/7c29141625af10c4a0e1064173da9f97 to your computer and use it in GitHub Desktop.
Ruby-Integers
#My Solution
def subtract(num1, num2)
return num1 - num2
end
def multiply(num1, num2)
return num1 * num2
end
#Bloc Solution
def subtract(num1, num2)
num1 - num2
end
def multiply(num1, num2)
num1 * num2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment