#include <stdio.h>

int compare(int value1, int value2);

void main() {
    int result = compare(5, 2);

    printf("5 vs 2, the winner is %d", result);
}

int compare(int value1, int value2) {
    if (value1 > value2)
        return value1;
    else
        return value2;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: