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

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

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

    if(x<y)
       m=x;
    else
       m=y;

    printf("Minimum number = %d",m);

    getch();
}



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