/**
 * As a journalist, findGreatest() function will help you find the greatest number
 * between two given numbers without using the ternary operator.
 *
 * @param a an integer
 * @param b an integer
 * @return The greater number between a and b
 */
fun findGreatest(a: Int, b: Int): Int {

    // Initialize a variable to store the greater number
    var greatest: Int? = null

    // Compare a and b using if-else statements without using the ternary operator
    if (a > b) {
        greatest = a
    } else {
        greatest = b
    }

    return greatest!!
}
/**
 * As a journalist, findGreatest() function will help you find the greatest number
 * between two given numbers without using the ternary operator.
 *
 * @param a an integer
 * @param b an integer
 * @return The greater number between a and b
 */
fun findGreatest(a: Int, b: Int): Int {
/**
 * As a journalist, findGreatest() function will help you find the greatest number
 * between two given numbers without using the ternary operator.
 *
 * @param a an integer
 * @param b an integer
 * @return The greater number between a and b
 */
fun findGreatest(a: Int, b: Int): Int {

    // Initialize a variable to store the greater number
    var greatest: Int? = null

    // Compare a and b using if-else statements without using the ternary operator
    if (a > b) {
        greatest = a
    } else {
        greatest = b
    }

    return greatest!!
}