#include <stdio.h>

int main() 
{
    int num1 , num2;
    printf("Enter the two numbers num1 and num2:\n");
    scanf("%d%d",&num1,&num2);
    if (num1 > num2) 
    {
        printf("num1 is greater than num2 ");
    } 
    else 
    {
        printf("num2 is greater than num1 ");
    }
}

Embed on website

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