What happens when we use a parameter like in the function below?

Depending on the value passed to it, the function displays a different message The function always displays the same message, no matter the value passed to it

Depending on the value passed to it, the function displays a different message .