#include <stdlib.h>
#include <stdio.h>
#define FAJITAS_PRICE 5.99
#define KEBAB_PRICE 3.99
#define CHICKEN_PRICE 4.99
#define DONER_PRICE 5.99
#define SOUP_PRICE 4.99
#define PASTA_PRICE 6.99 Main(){ int choice = 0; double totalPrice = 0; cout<<"Welcome to ABC restaurant!\n"); cout<<"May I take your order? \n\n"); do{ cout<<"Menu: \n\n"; cout<<"1. Fajitas \n"<<FAJITAS_PRICE; cout<<"2. Kebab \n”<<KEBAB_PRICE; cout<<"3. Chicken \n"<<CHICKEN_PRICE; cout<<"4. Turkish Doner \n"<<DONER_PRICE; cout<<"5. Lentil Soup \n"<<SOUP_PRICE; cout<<"6. Pastas \n"<<PASTA_PRICE; cout<<"7. Exit\n\n"; cout<<"Enter an food:"; cin>>i,choice; switch(choice){ case 1: totalPrice += FAJITAS_PRICE; break; case 2: totalPrice += KEBAB_PRICE; break; case 3: totalPrice += CHICKEN_PRICE; break; case 4: totalPrice += DONER_PRICE; break; case 5: totalPrice += SOUP_PRICE; break; case 6: totalPrice += PASTA_PRICE; break; case 7: cout<<"Than you for ordering at ABC Restaurant! \n"; break; default: cout<<"*** Error: This is not on the menu. \n"; break; } Cout<<"Total so far: \n\n"<<totalPrice; } while <<choice != 7); Cout<<"Your order is \n\n"<<totalPrice; Cout<<"Thank you for coming to ABC Restaurant.\n"; Cout<<"Have a nice day!.\n\n"; system<<"pause");
}