Erick wants to create a function createEmail() that uses a strings.Builder to create company emails for employees with the initial of their first name, followed by the last name and then the domain.
He has already written the code to read from the input two strings with the firstName and lastName of the employees, and another string with the email domain.
Your task is to help Erick write the required additional code to concatenate the initial of the firstName, then the lastName and the domain using a strings.Builder within the createEmail() function.
It is guaranteed that both the
firstName and lastName are only composed of letters from the Latin alphabet.