/**
 * This function allows the user to modify specific details of a police officer represented by a tuple.
 * The function prompts the user to choose which detail to modify and requires appropriate inputs for modification.
 * The function returns the updated tuple.
 */
fun modifyOfficer(officerTuple: Triple<String, Int, String>): Triple<String, Int, String> {

    println("Choose a detail to modify:")
    println("1. Officer's name")
    println("2. Officer's badge number")
    println("3. Officer's assigned district")
    
    val choice = readLine()!!.toInt()
    
    // Add logic for handling user's choice and modifying the tuple
    
    return officerTuple // Return the updated tuple
}
/**
 * This function allows the user to modify specific details of a police officer represented by a tuple.
 * The function prompts the user to choose which detail to modify and requires appropriate inputs for modification.
 * The function returns the updated tuple.
 */
fun modifyOfficer(officerTuple: Triple<String, Int, String>): Triple<String, Int, String> {
/**
 * This function allows the user to modify specific details of a police officer represented by a tuple.
 * The function prompts the user to choose which detail to modify and requires appropriate inputs for modification.
 * The function returns the updated tuple.
 */
fun modifyOfficer(officerTuple: Triple<String, Int, String>): Triple<String, Int, String> {

    println("Choose a detail to modify:")
    println("1. Officer's name")
    println("2. Officer's badge number")
    println("3. Officer's assigned district")
    
    val choice = readLine()!!.toInt()
    
    // Add logic for handling user's choice and modifying the tuple
    
    return officerTuple // Return the updated tuple
}