This whole semester, my class has been working on a big program in installments. Well, a couple installments ago, my program wasn't right and I never got help fixing it, so it's just getting progressively more wrong. I tried correcting it more today and I still have to add more tonight, but this is what I have so far. It doesn't even run...
The program is intended to provide two menus in loops, asking the customer if he/she would like to purchase something, which biscuits/dry food he/she would like to purchase, and how many of each. It should give an error message with each incorrect selection. I also have to add a function allowing the users to create their own biscuits. I'm a bit desperate here. Sorry, this thing is giant to me. No idea what I'm doing. This isn't even required for my nursing major...
cout << "Welcome to Buster's Best Biscuits! " << endl;
cout << "Do you want to order some biscuits? (Y/N) " << endl;
cin >> orderBiscuits;
if (toupper(orderBiscuits) == 'Y')
getBiscuits (biscuitDesc,howMany,biscuitPrice);
{
cout << "Please enter your first and last name. " << endl;
cin >> fullName;
cout << "Do you want to order some dog biscuits? (Y/N) " << endl;
cin >> orderBiscuits;
}
cout << "Do you want to order some dry food? (Y/N) " << endl;
cin >> orderDryFood;
if (toupper(orderDryFood) == 'Y')
getDryFood(dryFoodDesc,howMany2,dryFoodPrice);
{
cout << "Do you want to order some dry food? (Y/N) " << endl;
cin >> orderDryFood;
}
if (toupper(orderBiscuits) == 'N' || toupper(orderDryFood) == 'N')
cout << "No chow for you. " << endl;