/**
 * Given a tuple data containing account information, write a function that formats the data and returns a string
 * in the following format: 'Account Number: <account_number>, Account Holder: <account_holder>, Balance: $<balance>'.
 * The function should perform the following tasks:
 * - Access the first element of the tuple and assign it to a variable 'account_number'.
 * - Access the second element of the tuple and assign it to a variable 'account_holder'.
 * - Access the third element of the tuple and assign it to a variable 'balance'.
 * - Format the strings using the received values in the desired format.
 * - Return the formatted string.
 */
fun formatData(data: Triple<String, String, Double>): String {

    val accountNumber = data.first // Accessing the first element of the tuple
    val accountHolder = data.second // Accessing the second element of the tuple
    val balance = data.third // Accessing the third element of the tuple

    return "Account Number: $accountNumber, Account Holder: $accountHolder, Balance: $$balance"
}
/**
 * Given a tuple data containing account information, write a function that formats the data and returns a string
 * in the following format: 'Account Number: <account_number>, Account Holder: <account_holder>, Balance: $<balance>'.
 * The function should perform the following tasks:
 * - Access the first element of the tuple and assign it to a variable 'account_number'.
 * - Access the second element of the tuple and assign it to a variable 'account_holder'.
 * - Access the third element of the tuple and assign it to a variable 'balance'.
 * - Format the strings using the received values in the desired format.
 * - Return the formatted string.
 */
fun formatData(data: Triple<String, String, Double>): String {
/**
 * Given a tuple data containing account information, write a function that formats the data and returns a string
 * in the following format: 'Account Number: <account_number>, Account Holder: <account_holder>, Balance: $<balance>'.
 * The function should perform the following tasks:
 * - Access the first element of the tuple and assign it to a variable 'account_number'.
 * - Access the second element of the tuple and assign it to a variable 'account_holder'.
 * - Access the third element of the tuple and assign it to a variable 'balance'.
 * - Format the strings using the received values in the desired format.
 * - Return the formatted string.
 */
fun formatData(data: Triple<String, String, Double>): String {

    val accountNumber = data.first // Accessing the first element of the tuple
    val accountHolder = data.second // Accessing the second element of the tuple
    val balance = data.third // Accessing the third element of the tuple

    return "Account Number: $accountNumber, Account Holder: $accountHolder, Balance: $$balance"
}