/**
 * This function compares two grades to determine if they are equal or which one is higher.
 * The function takes in two arguments:
 * - grade1: an integer representing the first grade
 * - grade2: an integer representing the second grade
 *
 * Write an else statement to complete the code and print the appropriate message based on the comparison.
 *
 * If grade1 is equal to grade2, print "Both grades are equal."
 * If grade1 is greater than grade2, print "grade1 is higher."
 * Otherwise, print "grade2 is higher."
 */
fun compareGrades(grade1: Int, grade2: Int) {

    if (grade1 == grade2) {
        println("Both grades are equal.")
    } else if (grade1 > grade2) {
        println("grade1 is higher.")
    } else {
        // Write your else statement here
        println("grade2 is higher.")
    }
}
/**
 * This function compares two grades to determine if they are equal or which one is higher.
 * The function takes in two arguments:
 * - grade1: an integer representing the first grade
 * - grade2: an integer representing the second grade
 *
 * Write an else statement to complete the code and print the appropriate message based on the comparison.
 *
 * If grade1 is equal to grade2, print "Both grades are equal."
 * If grade1 is greater than grade2, print "grade1 is higher."
 * Otherwise, print "grade2 is higher."
 */
fun compareGrades(grade1: Int, grade2: Int) {
/**
 * This function compares two grades to determine if they are equal or which one is higher.
 * The function takes in two arguments:
 * - grade1: an integer representing the first grade
 * - grade2: an integer representing the second grade
 *
 * Write an else statement to complete the code and print the appropriate message based on the comparison.
 *
 * If grade1 is equal to grade2, print "Both grades are equal."
 * If grade1 is greater than grade2, print "grade1 is higher."
 * Otherwise, print "grade2 is higher."
 */
fun compareGrades(grade1: Int, grade2: Int) {

    if (grade1 == grade2) {
        println("Both grades are equal.")
    } else if (grade1 > grade2) {
        println("grade1 is higher.")
    } else {
        // Write your else statement here
        println("grade2 is higher.")
    }
}