//beginning of file #DEFINE E_MUFF 362 //calories #DEFINE HN_CHER 400 //calories #DEFINE PB_CC 20 //calories //main //func 1() //function 2 : int breakfast (void) /*Function 2*/ { char selection_breakfast; int calories_breakfast; printf("Please enter your selection for breakfast:\n a) English Muffin with Egg, Cheese, and Bacon \n b) Honey Nut Cheerios with Milk \n c) Plain Bagel and Plain Cream Cheese\n"); scanf("%c", &selection_breakfast); if (selection_breakfast=='a') { printf("You have selected \"English Muffin with Egg, Cheese, and Bacon\", 362 calories\n"); return E_MUFF; } if (selection_breakfast=='b') { printf("You have selected \"Honey Nut Cheerios with Milk\", 180 calories\n"); return HN_CHER; } if (selection_breakfast =='c'){ printf("You have selected \"Plain Bagel and Plain Cream Cheese\", 404 calories\n"); return PB_CC; } //default behaviour (bad option passed by the user ... stupid user) return -1; }