//Amari Mosley CSC5 Chapter 2, P. 81, #1
//
/**************************************************************
*
* SALES PREDICTION
* ____________________________________________________________
* This program will predict how much the East Coast division will
generate if the company has $4.6 million in sales this year
* Computation is based on the formula:
* East Coast Generation = Company sales * East Coast Division Percentage
* ____________________________________________________________
* INPUT
* TotalSales : The Company's Total Sales
*
* EastCoast : The East Coast Division's Percentage
*
* OUTPUT
* EastCoastGen : Sum of Integer 1 + Integer 2
*
**************************************************************/
#include <iostream>
#include <iomanip>
using namespace std;
// Defining Main Function
int main()
{
// Defining double Variables
double TotalSales, EastCoast, EastCoastGen;
// Assigning Values of Variables TotalSales and EastCoast
TotalSales = 4600000, EastCoast = 0.62;
//Computing Product of Values
EastCoastGen = TotalSales * EastCoast;
//Final Generation Display
cout << "The East Coast Division will generate " << EastCoastGen << " dollars in sales. ";
return 0;
}