/**
 * This function takes in two floating-point numbers, 'num1' and 'num2', and a string 'op', which represents a mathematical operation. It returns the result of the operation performed on the numbers.
 *
 * EXAMPLES:
 * social_worker_result(4.5, 2.3, '+') -> 6.8
 * social_worker_result(5.1, 3.7, '-') -> 1.4
 * social_worker_result(1.2, 1.6, '*') -> 1.92
 * social_worker_result(9.8, 2.5, '/') -> 3.92
 */
fun socialWorkerResult(num1: Double, num2: Double, op: String): Double {

    var result: Double = 0.0

    when (op) {
        "+" -> result = num1 + num2
        "-" -> result = num1 - num2
        "*" -> result = num1 * num2
        "/" -> result = num1 / num2
    }

    return result
}
/**
 * This function takes in two floating-point numbers, 'num1' and 'num2', and a string 'op', which represents a mathematical operation. It returns the result of the operation performed on the numbers.
 *
 * EXAMPLES:
 * social_worker_result(4.5, 2.3, '+') -> 6.8
 * social_worker_result(5.1, 3.7, '-') -> 1.4
 * social_worker_result(1.2, 1.6, '*') -> 1.92
 * social_worker_result(9.8, 2.5, '/') -> 3.92
 */
fun socialWorkerResult(num1: Double, num2: Double, op: String): Double {
/**
 * This function takes in two floating-point numbers, 'num1' and 'num2', and a string 'op', which represents a mathematical operation. It returns the result of the operation performed on the numbers.
 *
 * EXAMPLES:
 * social_worker_result(4.5, 2.3, '+') -> 6.8
 * social_worker_result(5.1, 3.7, '-') -> 1.4
 * social_worker_result(1.2, 1.6, '*') -> 1.92
 * social_worker_result(9.8, 2.5, '/') -> 3.92
 */
fun socialWorkerResult(num1: Double, num2: Double, op: String): Double {

    var result: Double = 0.0

    when (op) {
        "+" -> result = num1 + num2
        "-" -> result = num1 - num2
        "*" -> result = num1 * num2
        "/" -> result = num1 / num2
    }

    return result
}