/**
 * This function will take a person's gender and name and return a greeting based on the gender and name given.
 *
 * @param gender A string indicating the person's gender. Should be either "male" or "female".
 * @param name A string indicating the person's name.
 * @return A formatted greeting depending on the gender and name provided.
 */
fun dancerGreetings(gender: String, name: String): String {

    return when (gender) {
        "male" -> "Good evening Mr. ${name.substring(1)}"
        "female" -> "Good evening Ms. ${name.substring(1)}"
        else -> "Good evening dear ${name.substring(1)}"
    }
}
/**
 * This function will take a person's gender and name and return a greeting based on the gender and name given.
 *
 * @param gender A string indicating the person's gender. Should be either "male" or "female".
 * @param name A string indicating the person's name.
 * @return A formatted greeting depending on the gender and name provided.
 */
fun dancerGreetings(gender: String, name: String): String {
/**
 * This function will take a person's gender and name and return a greeting based on the gender and name given.
 *
 * @param gender A string indicating the person's gender. Should be either "male" or "female".
 * @param name A string indicating the person's name.
 * @return A formatted greeting depending on the gender and name provided.
 */
fun dancerGreetings(gender: String, name: String): String {

    return when (gender) {
        "male" -> "Good evening Mr. ${name.substring(1)}"
        "female" -> "Good evening Ms. ${name.substring(1)}"
        else -> "Good evening dear ${name.substring(1)}"
    }
}