Grading Guidelines for hw3 ============================================================== Problem 1: 50 points Note: The sample solution keeps separate totals for cheesesteaks, hoagies, etc., so if 2 cheesesteaks were chosen, and then 3 cheesesteaks were chosen, the total cost would be 3 times the cost of a cheesesteak. This is not required, and it's okay to do it either like that or in the more straightforward way, so that the total would be 5 times the cost of a c heesesteak. -5 if #define wasn't used to define the cost of each item -10 if the user is not prompted to reinter a menu item if an invalid choice is entered. -5 if doesn't handle both upper and lower case (test with 'B' and 'b' for banana -5 if it doesn't handle inputs like 'soda' (ie, should only care about the first character, not the rest - if they went ahead and actually checked for strings like 'soda' instead of, e.g., 'soad', that's okay) -20 if the user is not prompted for more money if not enough is entered. -10 if this is not done repeatedly, if not enough money is not entered - e.g., on the sample run on the hw: ============================================================== Problem 2: 25 points only check for the use of switch instead of cascaded if - everything else should be the same, so if anything else is wrong, it should have been been taken off for problem 1. Even if the if statement from problem 1 had something wrong, if the switch statement in problem 2 is an accurate version of that incorrect if statement, it gets full credit. ============================================================== Problem 3: 25 points -25 if an enumerated type for the items was not used. -10 if they faked CHEESESTEAK=1 by using some bogus value for 0 - e.g. typedef enum { FAKE,CHEESESTEAK,TURKEY_HOAGIE.... instead of typedef enum {CHEESESTEAK=1, TURKEY_HOAGIE... -10 if the enumerated type was not used in an appropriate spot in the code - e.g., "case 1" or "if (item==1)" instead of "case CHEESESTEAK" or "if (item==CHEESESTEAK)" -10 if the input is still done with characters ('C',etc.) instead of numbers. don't grade the total-payment-change loop at the end, since that should be no different in this problem than the first two.