#include void inputInfo() { printf("You are trying to Input info.\n"); } void outputInfo() { printf("You are trying to Output info.\n"); } void makeOrdered() { printf("You are trying to Make things ordered.\n"); } //²Ëµ¥ int main() { char choice; printf("Main Menu:\n"); printf("%30s 1.Input\n", ""); printf("%30s 2.Output\n", ""); printf("%30s 3.Order\n", ""); printf("%30s 4.Quit\n", ""); printf("Please enter your choice: "); scanf(" %c", &choice); //Ñ¡Ôñ switch (choice) { case 'i': inputInfo(); break; case 'o': outputInfo(); break; case 'm': makeOrdered(); break; case 'q': printf("You are about to Quit.\n"); break; default: printf("Wrong input.\n"); break; } return 0; }