Find The Greatest Number

#include
int main (void)
{
    int x,y;    printf("Please enter two integer\n");
    scanf("%d %d",&x,&y);
    if (x>y)
    {
        printf("1st one is greater than 2nd one\n");
    }
    else
    {
        printf("2nd one is greater than 1st one\n");
    }
    return 0;
}

0 comments:

Post a Comment