Answer:
The solution code is written in Python:
- def full_name(lastName, firstName):
- return lastName + ", " + firstName
Step-by-step explanation:
Firstly, create a function and name it as full_name that takes two parameters, lastName and firstName (Line 1).
In the function body, we can simply use plus operator, "+", to join the lastName string, comma and firstName string into a concatenated string. Please note a single space is made right after the comma (Line 2).
At last, return the concatenated string as function output.