i wrote this program it c++ in response to this question "total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk (which will need to be a value rounded up to the nearest integer), the cost of producing the milk and the profit from producing this milk." but i keep getting these errors in my program.
#include <iostream>
#include <cmath>
using namespace std;
int main ()
{
double LitersMilkProduce;
double cartons, totalcost, totalprofit;
const double LITERCOST(0.38), CARTONPROFIT(0.27), LITERS_PER_CARTONS= (3.78);
cout << "Enter the total number of liters: ";
cin >> LitersMilkProduce;
cartons = LitersMilkProduce / LITERS_PER_CARTONS;
totalcost = LitersMilkProduce * LITERCOST;
totalprofit = static_cast (cartons) * CARTONPROFIT;
cout << "The total number of liters = " << LitersMilkProduce << endl;
cout << fixed << showpoint<< setprecision(2) <<fixed << "Amount of cartons = " << cartons <<endl;
cout << "\nEnd of Program\n\n";
return 0;
}