Practice Question 3–
Function
nWrite a function that will take two double arguments and will return the minimum value of the two numbers.
Function signature(declaration)
double Min(double x, double y);
Function definition (implementation)
double Min(double x, double y) {
if ( x < y ) return x;
else return y;
}
Function call ( use)
double x = 34.5;
double y = 43.8;
cout << “Min is :”
       << Min(x, y) << endl;