1: #include <iostream>
2: using namespace std;
3: 
4: int main()
5: {  double bottles;
6:    cout << "How many bottles do you have? ";
7:    cin >> bottles;
8: 
9:    double cans;
10:   cout << "How many cans do you have? ";
11:   cin >> cans;
12:
13:   const double BOTTLE_VOLUME = 2.0;
14:   const double CAN_VOLUME = 0.355;
15:   double total = bottles * BOTTLE_VOLUME + cans * CAN_VOLUME;
16: 
17:   cout << "The total volume is " << total << " liter.\n";
18:   return 0;
19: }