The function takes a string input and prints out a greeting message with the input string.

