Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- // #include<conio.h>
- #include<stdlib.h>
- #include<string.h>
- #include<ctype.h>
- void admin() {
- printf("DEBUG: admin()");
- // char pass[21];
- // int ploop = 1;
- // int in = 1;
- // int pass1;
- // system("cls");
- // for(ploop = 1; ploop<=in;) {
- // printf("Enter Password: ");
- // scanf_s("%s",&pass);
- // pass1 = strcmpi(pass, "admin");
- // if (pass1 == 0)
- // {
- // system("cls");
- // in = 0;
- // printf("Password Confirm \n\n\n");
- // admin2();
- // } else {
- // system("cls");
- // in = 1;
- // printf("Access Denied \n\n\n");
- // }
- // }
- }
- void admin2() {
- printf("DEBUG: admin2()");
- // int i,w;
- // int item_code[20] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
- // int item_code2;
- // printf("Welcome: Admin \n\n");
- // printf("MENU");
- // printf("What would you like to order:\n");
- // printf("Food/Price\n");
- // printf("[1]Fried Chicken/P160 \n");
- // printf("[2]Spaghetti/P150\n");
- // printf("[3]Beef Steak/P120\n");
- // printf("[4]Pork Chop/P100\n");
- // printf("[5]Longanisa/P190\n");
- // printf("[6]Fried Bangus/P180\n");
- // printf("[7]Roast Chicken/P100\n");
- // printf("[8]Sharkfin/P170\n");
- // printf("[9]Beef Tapa/P140\n");
- // printf("[10]BBQ Chicken/P190\n");
- // printf("[11]Calamari/P180\n");
- // printf("[12]Beef Salpicao/P110\n");
- // printf("[13]Fried Rice/P170\n");
- // printf("[14]Tempura/P190\n");
- // printf("[15]Cream Dory/P100\n");
- // printf("[16]Jellyfish/P120\n");
- // printf("[17]Lechon/P300\n");
- // printf("[18]Mash Potato/P150\n");
- // printf("[19]Halo-Halo/P120\n");
- // printf("[20]Lecheflan/P140\n");
- // printf("Please enter how many orders do you want: ");
- // scanf("%d",&w);
- // for(int j=0;j<w;j++)
- // {
- // printf("Enter Item Code: ");
- // scanf("%d",&item_code2);
- // }
- // for(i=0;i<w;i++)
- // {
- // printf("%d",item_code2);
- // }
- }
- void cashier() {
- }
- void server() {
- }
- int main() {
- int choice;
- // system("cls");
- printf("\t \t \t WELCOME TO BON'S ORDERING SYSTEM \n");
- printf("[1] Admin \n");
- printf("[2] Cashier \n");
- printf("[3] Server \n");
- printf("[4] Waitress \n");
- printf("[5] Hostess \n");
- printf("Please Enter Your Choice: ");
- scanf("%d",&choice);
- switch(choice) {
- case 1:
- printf("DEBUG:: Choice 1"); // Check Value, Delete This Line Later
- // admin();
- break;
- }
- // system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement