#include<iostream>
using namespace std;

// Declare min function
float min(float num1, float num2);


int main()
{
 // Get two numbers
 float num1, num2;
 cout << "Give me two numbers: ";
 cin >> num1 >> num2;

 // Report the minimum number
 cout << "The minimum number is "
      << min(num1,num2) << endl;

 return 0;
}


// Define min function
float min(float num1, float num2)
{
 if(num1<num2)
   return num1;
 else
   return num2;
}