/**
 * A program to calculate the total wire length needed for an electrical project.
 *
 * The lengths of three different wires are given as input. The program should calculate and return the total wire length needed.
 *
 * @param length1 Length of the first wire in meters.
 * @param length2 Length of the second wire in meters.
 * @param length3 Length of the third wire in meters.
 * @return The total wire length needed, obtained by adding the lengths of the three wires.
 */
fun calculateWireLength(length1: Double, length2: Double, length3: Double): Double {

    // Calculate the total wire length by adding the lengths of the three wires
    val totalLength = length1 + length2 + length3
    return totalLength
}
/**
 * A program to calculate the total wire length needed for an electrical project.
 *
 * The lengths of three different wires are given as input. The program should calculate and return the total wire length needed.
 *
 * @param length1 Length of the first wire in meters.
 * @param length2 Length of the second wire in meters.
 * @param length3 Length of the third wire in meters.
 * @return The total wire length needed, obtained by adding the lengths of the three wires.
 */
fun calculateWireLength(length1: Double, length2: Double, length3: Double): Double {
/**
 * A program to calculate the total wire length needed for an electrical project.
 *
 * The lengths of three different wires are given as input. The program should calculate and return the total wire length needed.
 *
 * @param length1 Length of the first wire in meters.
 * @param length2 Length of the second wire in meters.
 * @param length3 Length of the third wire in meters.
 * @return The total wire length needed, obtained by adding the lengths of the three wires.
 */
fun calculateWireLength(length1: Double, length2: Double, length3: Double): Double {

    // Calculate the total wire length by adding the lengths of the three wires
    val totalLength = length1 + length2 + length3
    return totalLength
}