lol

#include <stdio.h>

// Function to find the maximum of two numbers
int max(int num1, int num2) {
    if (num1 > num2)
        return num1;
    else
        return num2;
}

// Function to find the maximum of three numbers
int maxOfThree(int num1, int num2, int num3) {
    return max(max(num1, num2), num3);
}

int main() {
    // Declare and initialize three numbers
    int a, b, c;
    printf("Enter three numbers: ");
    scanf("%d %d %d", &a, &b, &c);

    // Find and print the maximum of the three numbers
    int result = maxOfThree(a, b, c);
    printf("Maximum of %d, %d, and %d is: %d\n", a, b, c, result);

    return 0;
}