#include<iostream.h>
#include<conio.h>
int a, b, c ; // Global Variable Declaration
void find_minimum ()
{
int min ;
min = a ;
if ( min > b )
min = b ;
if ( min > c )
min = c ;
cout << "\nThe minimum number is : "<<min ;
}
void main ()
{
cout<< "\n Input three numbers : " ;
cin>>a;
cin>>b;
cin>>c;
find_minimum () ;
getch();
}
0 comments:
Post a Comment