The function takes one or more string inputs and concatenates them together before printing the result.
