RosettaCodeData/Task/Function-definition/R/function-definition-2.r

6 lines
56 B
R

mult <- function(a,b) {
a*b
# or:
# return(a*b)
}