// mult2float.cpp
// Prompts the user for 2 floating-point numbers and multiplies them.

#include <iostream>

using namespace std;

int main()
{
   float factor1;      // to be entered by user
   float factor2;      // to be entered by user
   float product;      // product of entered numbers

   cout << "This program multiplies two floating-point numbers." << endl;

   cout << "Enter first number:>";
   cin >> factor1;
   cout << "Enter second number:>";
   cin >> factor2;

   product = factor1 * factor2;
   cout << factor1 << " x " << factor2 << " = " << product << "." << endl;

   return 0;
}  // function main