Back To C++ User Defined Functions Index
//program to create a function that takes three integer arguments and finds smallest of them #include
#include
void small(int,int,int); void small(int a,int b,int c) { int min; min=a; if(b
>a; cout<<"enter value for b"; cin>>b; cout<<"enter value for c"; cin>>c; small(a,b,c); getch(); }