Practice
-
What is the name of the method below?
def multiply(num1,num2) num1 * num2 end
-
How many arguments does this method have?
def meeting(place, time, day) ... end
-
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
-
Write a method that takes a word as an argument. Make the method return the word and the string
" is awesome!".