Practice
1) What is the name of the method below?
def multiply(num1,num2)
num1 * num2
end
2) How many arguments does this method have?
def meeting(place, time, day)
...
end
3) What does this method return when called? (What's its output?)
def calculus
numbers = (25 * 37) / 42
numbers / 12 * 25
"Programming is not math"
end
4) Write a method that takes a word as an argument.
Make the method return the word and the string
" is awesome!"
.