/**
 * This exercise aims to test your knowledge on basic for loop and iterating through sets.
 *
 * Instructions:
 * - You are given a set 'aerospaceData', which contains information about various aerospace components.
 * - Your task is to iterate through the set and print the component name and its description.
 * - Note that each component is represented as a Pair with two elements: name and description.
 * - Write the code below to solve the exercise.
 *
 * @param aerospaceData A set containing Pairs representing aerospace components.
 */
fun iterateThroughSets(aerospaceData: Set<Pair<String, String>>) {

    for (component in aerospaceData) {
        val (componentName, componentDescription) = component
        println("Component: $componentName    Description: $componentDescription")
    }
}
/**
 * This exercise aims to test your knowledge on basic for loop and iterating through sets.
 *
 * Instructions:
 * - You are given a set 'aerospaceData', which contains information about various aerospace components.
 * - Your task is to iterate through the set and print the component name and its description.
 * - Note that each component is represented as a Pair with two elements: name and description.
 * - Write the code below to solve the exercise.
 *
 * @param aerospaceData A set containing Pairs representing aerospace components.
 */
fun iterateThroughSets(aerospaceData: Set<Pair<String, String>>) {
/**
 * This exercise aims to test your knowledge on basic for loop and iterating through sets.
 *
 * Instructions:
 * - You are given a set 'aerospaceData', which contains information about various aerospace components.
 * - Your task is to iterate through the set and print the component name and its description.
 * - Note that each component is represented as a Pair with two elements: name and description.
 * - Write the code below to solve the exercise.
 *
 * @param aerospaceData A set containing Pairs representing aerospace components.
 */
fun iterateThroughSets(aerospaceData: Set<Pair<String, String>>) {

    for (component in aerospaceData) {
        val (componentName, componentDescription) = component
        println("Component: $componentName    Description: $componentDescription")
    }
}