/* This program calculates the revenue generated by an employee 
   installing coaxial cable.

   Input (keyboard):  The number of installations
                      The yards of cable installed
   Constants:         The basic service charge for an installation
                      The cost per foot of the cable
   Output (screen):   The revenue generated
--------------------------------------------------------------------*/

#include <iostream.h>

int main(void)
{
   const double 
      ServiceCharge = 25.00,   // service charge per installation
      CostPerFoot = 2.00;      // unit cable cost

   int
      Installations;           // number of installations
   double
      YardsOfCable;            // yards of cable used

   cout << "\nPlease enter:"
        << "\n\tthe number of installations, and"
        << "\n\tthe yards of cable used.\n";

   cin >> Installations >> YardsOfCable;

   double
      FeetOfCable = 3.0 * YardsOfCable;

   double
      Revenue = Installations * ServiceCharge +
                CostPerFoot * FeetOfCable;

   cout << "\nThe revenue generated = $" << Revenue << "\n\n";

   return 0;
}

