I'm working on this program, and when i run it for 'p', 'P', or for a incorrect service code a error message pops up saying that "totalCost is being used without being initialized"
I don't want to change it to switches, case, and breaks now because I've come too far to change it all.
I have that variable right here just below. So whats wrong?
using namespace std;
What if someone selects P and enters over 75 minutes for day and less than 100 minutes for night? or vice versa - under 75 minutes for day, but more than 100 minutes for night? Just wondering if they're supposed to get a pass on being over on one of the minute types if they're under on the other.