ok so i got marked off on my program for hard coding, but not sure what i did wrong, here is a part of my program that was 'hardcoded'
cout << "Tax $" << (meal_price * guests) * TAX << endl;
cout << "Tip $" << (meal_price * guests + meal_price * guests * TAX) * TIP << endl;
cout << "Total $" << (meal_price * guests) + (meal_price * guests * TAX) + (meal_price * guests + meal_price * guests * TAX) * (TIP);
how is hardcoding defined in the statements above? how can it be non hardcoded? thanks