Answer:
The following alterations are done to the program
1. Replace /* Your solution goes here */ with
const int CENTS_PER_POUND = 25;
cout<<"Ship Weight Pounds: ";
cin>>shipWeightPounds;
2. Include
shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;
after
cout << ", Cents per lb: " << CENTS_PER_POUND;
Explanation:
See attachment for complete program as it should be ordered
This line declares CENTS_PER_POUND as a constant integer and it also initializes the variable to 25
const int CENTS_PER_POUND = 25;
This prompts the user for the weight of the shipping items (in pounds)
cout<<"Ship Weight Pounds: ";
This gets user input for the weight of the shipping item
cin>>shipWeightPounds;
.............................
........
...
This calculates the cost of shipping the item
shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;