1) [20 pts] There are other ways of doing this, this was mine. #include main() { int first, second, error = 0;; printf("Please enter your selection "); scanf("%d %d",&first, &second); printf("\n"); switch(first) { case 1: if (second == 1) printf("Small "); else if (second == 2) printf("Large "); else error ++; if (!error) printf("Snickers\n"); break; case 2: if (second == 1) printf("Small "); else if (second == 2) printf("Large "); else error ++; if (!error) printf("Mounds\n"); break; case 3: if (second == 1) printf("Small "); else if (second == 2) printf("Large "); else error ++; if (!error) printf("M&M's\n"); break; default: error ++; } if (error) printf("Invalid selection.\n"); else printf("\nThank you for using the vending machine.\n"); } 2) [20 points] Each part is worth 5 points. All or nothing. a) *B* b) *D* *G* c) *F* d) none of the above