//    smaller.cc  P. Conrad 11/08/2006 for CISC106 sect 99
//    ask user for two numbers, then print the smaller one
//    if both are the same, it doesn't matter which one you print

#include <iostream>
using namespace std;


int main()
{
   // fill in one or two missing lines of code here

  double firstNum;
  double secondNum;

   // prompt for input

   cout << "Enter the first number: ";
   cin >> firstNum;
   
   cout << "Enter the second number: ";
   cin >> secondNum;

   // compute and print answer

   double theSmallerOne;

   if (firstNum < secondNum )
     {
       theSmallerOne = firstNum;
     }
   else
     {
       theSmallerOne = secondNum;
     }

   cout << "The smaller one is " << theSmallerOne << endl;

   return 0;
}




