/**
 * This exercise requires you to write a function that formats a given artist name and song title in a specific way.
 *
 * The function should take two parameters:
 * - artist: a string representing the name of the artist
 * - songTitle: a string representing the title of the song
 *
 * The function should return a formatted string that combines the artist name and song title as follows:
 * - Convert the artist name to uppercase and prepend it with "ARTIST:"
 * - Convert the song title to lowercase and prepend it with "SONG TITLE:"
 * - Concatenate the formatted artist name and song title, separated by a space
 *
 * Example:
 * name("Adele", "Hello") should return "ARTIST: ADELE SONG TITLE: hello"
 *
 * Give it a try and see if you can solve it!
 */
fun name(artist: String, songTitle: String): String {

    // Format the artist name and song title
    val formattedArtist = "ARTIST: ${artist.toUpperCase()}"
    val formattedSongTitle = "SONG TITLE: ${songTitle.toLowerCase()}"

    // Combine the formatted artist name and song title
    val formattedString = "$formattedArtist $formattedSongTitle"

    return formattedString
}
/**
 * This exercise requires you to write a function that formats a given artist name and song title in a specific way.
 *
 * The function should take two parameters:
 * - artist: a string representing the name of the artist
 * - songTitle: a string representing the title of the song
 *
 * The function should return a formatted string that combines the artist name and song title as follows:
 * - Convert the artist name to uppercase and prepend it with "ARTIST:"
 * - Convert the song title to lowercase and prepend it with "SONG TITLE:"
 * - Concatenate the formatted artist name and song title, separated by a space
 *
 * Example:
 * name("Adele", "Hello") should return "ARTIST: ADELE SONG TITLE: hello"
 *
 * Give it a try and see if you can solve it!
 */
fun name(artist: String, songTitle: String): String {
/**
 * This exercise requires you to write a function that formats a given artist name and song title in a specific way.
 *
 * The function should take two parameters:
 * - artist: a string representing the name of the artist
 * - songTitle: a string representing the title of the song
 *
 * The function should return a formatted string that combines the artist name and song title as follows:
 * - Convert the artist name to uppercase and prepend it with "ARTIST:"
 * - Convert the song title to lowercase and prepend it with "SONG TITLE:"
 * - Concatenate the formatted artist name and song title, separated by a space
 *
 * Example:
 * name("Adele", "Hello") should return "ARTIST: ADELE SONG TITLE: hello"
 *
 * Give it a try and see if you can solve it!
 */
fun name(artist: String, songTitle: String): String {

    // Format the artist name and song title
    val formattedArtist = "ARTIST: ${artist.toUpperCase()}"
    val formattedSongTitle = "SONG TITLE: ${songTitle.toLowerCase()}"

    // Combine the formatted artist name and song title
    val formattedString = "$formattedArtist $formattedSongTitle"

    return formattedString
}