/**
 * This function updates the volume of a track in a music composition.
 *
 * @param track The current volume of the track represented as a floating-point number.
 * @param newVolume The desired new volume of the track represented as a floating-point number.
 * @return The updated volume of the track after applying the multiplication assignment operator.
 */
fun updateTrackVolume(track: Double, newVolume: Double): Double {

    var updatedTrack = 1.0 // Set the initial track volume
    updatedTrack *= newVolume // Update the track's volume by multiplying it with newVolume using the *= operator
    return "%.2f".format(updatedTrack).toDouble() // Return the updated track volume rounded to 2 decimal places
}
/**
 * This function updates the volume of a track in a music composition.
 *
 * @param track The current volume of the track represented as a floating-point number.
 * @param newVolume The desired new volume of the track represented as a floating-point number.
 * @return The updated volume of the track after applying the multiplication assignment operator.
 */
fun updateTrackVolume(track: Double, newVolume: Double): Double {
/**
 * This function updates the volume of a track in a music composition.
 *
 * @param track The current volume of the track represented as a floating-point number.
 * @param newVolume The desired new volume of the track represented as a floating-point number.
 * @return The updated volume of the track after applying the multiplication assignment operator.
 */
fun updateTrackVolume(track: Double, newVolume: Double): Double {

    var updatedTrack = 1.0 // Set the initial track volume
    updatedTrack *= newVolume // Update the track's volume by multiplying it with newVolume using the *= operator
    return "%.2f".format(updatedTrack).toDouble() // Return the updated track volume rounded to 2 decimal places
}