#include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main()
{
int x,y,z,m;
clrscr();
cout<<"Enter 1st number = ";
cin>>x;
cout<<"Enter 2nd number = ";
cin>>y;
cout<<"Enter 3rd number = ";
cin>>z;
m=(x<y)? (x<z)? x:z: (y<z)? y:z;
cout<<"Minimum number = "<<m;
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........