A program that read two numbers & display maximum (2).

#include<stdio.h>
#include<conio.h>

void main()
{
    int x,y;
    clrscr();
    printf("Enter 1st number = ");
    scanf("%d",&x);
    printf("Enter 2nd number = ");
    scanf("%d",&y);

    if(x>y)
       printf("Maximum number = %d",x);
    else
       printf("Maximum number = %d",y);

    getch();
}



///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........