Error in function syntax [closed]

Omit the + signs and it will work:

divider <- function(x,y) {  
  result <- x/y
  print(result)
}

Leave a Comment