Conditional Statement If-else



main() 
{ 
    int No1,No2; 
    clrscr(); 

    printf("Enter the First No"); 
    scanf("%d",&No1); 

    printf("Enter the Second No"); 
    scanf("%d",&No2);

    if(No1>No2) 
    { 
        printf("\n No 1 is greater"); 
    } 
    else 
    { 
        printf("\n No 2 is greater"); 
    } 
getch(); 
}
           

Output: