#include <conio.h>
using namespace std;
int maximum(int,int,int);
int minimum(int,int,int);
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main( )
{
int a,b,c;
cout<<"Enter your number"<<endl;
cin>> a>> b>> c;
cout<<"your provided maximum number is = "<< maximum(a,b,c) <<endl;
cout<<"your provided minimum number is = "<<minimum(a,b,c)<<endl;
return 0;
}
No comments:
Post a Comment