Monday, November 17, 2014

Small and Big Number

 

Small and Big Number

 

#include<stdio.h>
 
int main()
{
    int a,b;
    printf("Enter two number :");
    scanf("%d%d",&a,&b);
 
    if(a==b)
    {
        printf("Both are Equal ");
    }
    else if(a>b)
    {
        printf("%d is big Number ",a);
    }
 
    else if(b>a)
    {
        printf("%d is Big ",b);
    }
 
    return 0;
}

No comments:

Post a Comment