// Marvyn De La Torre    CS1A    Chapter 2, Page 81, #6

/****************************************************************
 * ANNUAL PAY
 * --------------------------------------------------------------
 * This program calculates an employee's annual pay based on
 * their pay amount and number of pay periods in one year.
 ****************************************************************
 * INPUT
 * payAmount  : Amount earned each pay period
 * payPeriods : Number of pay periods in one year
 *
 * OUTPUT
 * annualPay  : Employee's total annual pay
 ****************************************************************/

#include <iostream>
using namespace std;

int main()
{
    double payAmount;    // INPUT - Amount earned each pay period
    double payPeriods;   // INPUT - Number of pay periods per year
    double annualPay;    // OUTPUT - Employee's annual pay

    // Assign the given values
    payAmount = 1700.0;
    payPeriods = 26.0;
   
    // Calculate annual pay
    annualPay = payAmount * payPeriods;

    // Display result
    cout << "The employee's annual pay is $" << annualPay << endl;

    return 0;
}