/**
 * This exercise requires students to find the maximum of three given numbers using if statements and integer operations.
 *
 * @param num1 The first number
 * @param num2 The second number
 * @param num3 The third number
 * @return The maximum number among the given three
 */
fun maxOfThree(num1: Int, num2: Int, num3: Int): Int {

    if (num1 > num2) {
        if (num1 > num3) {
            return num1
        } else {
            return num3
        }
    } else {
        if (num2 > num3) {
            return num2
        } else {
            return num3
        }
    }
}
/**
 * This exercise requires students to find the maximum of three given numbers using if statements and integer operations.
 *
 * @param num1 The first number
 * @param num2 The second number
 * @param num3 The third number
 * @return The maximum number among the given three
 */
fun maxOfThree(num1: Int, num2: Int, num3: Int): Int {
/**
 * This exercise requires students to find the maximum of three given numbers using if statements and integer operations.
 *
 * @param num1 The first number
 * @param num2 The second number
 * @param num3 The third number
 * @return The maximum number among the given three
 */
fun maxOfThree(num1: Int, num2: Int, num3: Int): Int {

    if (num1 > num2) {
        if (num1 > num3) {
            return num1
        } else {
            return num3
        }
    } else {
        if (num2 > num3) {
            return num2
        } else {
            return num3
        }
    }
}