//Ryan Shahriyarpour CS1A Carl Argila CH2 HW Q:2
//
/*****************************************************************************
*
* Computing the East Coast Sales
*
*
* *******
* The goal of the program is to compute the east coast sales based on
* 62 percent of total sales which is $4.6 million
*
*
* to find this, the program will use:
* eastCoastSales = totalSales * percentage
*
*
* *******
*
* INPUT
* total sales : $4.6 million
* sales percentage : 62 percent
*
* OUTPUT
* east coast sales : east coast
*
*****************************************************************************/
#include <iostream>
int main() {
// Specify the numbers and assign them variables
double totalSales = 4600000;
double percentage = 0.62;
// compute the sales and store it in a variable
double eastCoastSales = totalSales * percentage;
// compute the final output and show it
std::cout << "The east coast sales end up being $" << eastCoastSales << std::endl;
return 0;
}