/* L5-3.cpp (Incorrect Bill) What is wrong with this program? */ #include using namespace std; double calc(int sodas, int slices_of_pizza, int ice_cream); int main() { int sodas, slices_of_pizza, ice_cream; double price; cout << "How many sodas do you want?" << endl; cin >> sodas; cout << "How many slices of pizza do you want?" << endl; cin >> slices_of_pizza; cout << "How many ice-creams do you want?" << endl; cin >> ice_cream; price = calc(slices_of_pizza,ice_cream,sodas); cout << "The price for this meal is: " << price << endl; return 0; } double calc(int sodas, int slices_of_pizza, int ice_cream) { double price; price = sodas * 1.00 + slices_of_pizza * 1.50 + ice_cream * .75; return price; }