0% found this document useful (0 votes)
56 views4 pages

Gest Host

This document contains the code for a menu and order taking system for a restaurant. It defines variables to track sales amounts and displays menus with options for fruits salads, meals, sandwiches, drinks and prices. It then prompts the user to enter a meal and quantity and calculates the total cost, tracking running sales amounts.

Uploaded by

Nilson Martin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views4 pages

Gest Host

This document contains the code for a menu and order taking system for a restaurant. It defines variables to track sales amounts and displays menus with options for fruits salads, meals, sandwiches, drinks and prices. It then prompts the user to enter a meal and quantity and calculates the total cost, tracking running sales amounts.

Uploaded by

Nilson Martin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

double AmountOfSaleSpaghetti = 0;

double AmountOfSaleChicken = 0;

double coke = 15.75;

double it = 20.50;

double AmountOfSaleCoke = 0;

cout<<"--------------------------------------------------------------------------\n";

cout<<"[1] SALADA DE FRUTAS SIMPLES.............. 35.00MZN\n\n";

cout<<"[2] SALADA DE FRUTAS COM IOGURTE.............. 35.00MZN\n\n";

cout<<"[3] SALADA DE FRUTAS COM NATAS.............. 45.00MZN\n\n";

cout<<"[4] SALADA DE FRUTAS COM GUSTARDE.............. 75.00MZN\n\n";

cout<<"--------------------------------------------------------------------------\n";

cout<<"\t\t\t\t\t\t\ =REFEICOES DO DIA= \n\n";

cout<<"-------------------------------------------\n";

cout<<"[1] FRANGO A PASSARINHO..............195/350MZN\n";

cout<<"Especialidade de frango frito servido sobre apa e acompanhamento de Batatas


fritas..............\n\n";

cout<<"[2] FAJITA DE FRANGO .............. 190.00MZN\n";

cout<<"Mozarella, Frango, Pimento, cebola. (Servido com batata Frita)\n\n";

cout<<"[1] FAJITA DE VEGETAIS..............190 MZN\n";

cout<<"Mozarella, Cogumelos, Cebola Roxa, Espinafres, Alho e Servido com Batatas Fritas\n";

cout<<"[3] HAMBURGUER DE FRANGO COMPLETO .............. 450.00MZN\n\n";

cout<<"[4] HAMBURGUER COMPLETO .............. 390.00MZN\n\n";


cout<<"-------------------------------------------\n";

cout<<"\t\t\t\t\t\t\ =SALADAS= \n\n";

cout<<"----------------------------------------------------------------------------------------------\n";

cout<<"[1] SALADAS DE FRANGO.............. 350.00 MZN\n\n";

cout<<"Alface, frango, Cebola, Pimento, Castanha de Caju, Ananaz, Tomate, Cherry e


Mozarella \n\n\n ";

cout<<"[2]SALADAS DE ATUM .............. 350.00MZN\n\n";

cout<<"Alface, Atum, Pimento, Ovo Cozido, Tomate, Cherry e Azeitona \n\n\n ";

cout<<"---------------------------------------------------------------------------------------------\n";

cout<<"[3] Hamburguer de Frango completo .............. 450.00MZN\n\n";

cout<<"[4] Hamburguer Completo .............. 390.00MZN\n\n";

cout<<"-------------------------------------------\n";

cout<<"\t\t\t\t\t\t\ =Hamburguers= \n\n";

cout<<"-------------------------------------------\n";

cout<<"[1] Hamburguer com ovo (simples).............. 85.00MZN\n\n";

cout<<"[2] Hamburguer de Frango (simples) .............. 100.00MZN\n\n";

cout<<"[3] Hamburguer de Frango completo .............. 450.00MZN\n\n";

cout<<"[4] Hamburguer Completo .............. 390.00MZN\n\n";

cout<<"-------------------------------------------\n";
cout<<"\t =Doses de F= \n\n";

cout<<"[1] Spaghetti........... 30.00MZN\n\n";

cout<<"[2] Chicken w/ rice..... 75.00MZN\n\n";

cout<<"What is your meal: ";

cin>>meal;

cout<<"How many?: ";

cin>>mealQty;

cout<<"\t\t =BEBIDAS= \t\t\n\n";

cout<<"\t\t =CERVEJA PRESSAO= \t\t\n\n";

cout<<"[5] Heineken Draught Copo 0.25............ 150.00MZN\n\n";

cout<<"[6] Heineken Draught Copo 0.35............ 240.00MZN\n\n";

cout<<"\t\t =CERVEJA GARRAFA \t\t\n\n";

cout<<" [1] Txilar Clara Garrafa 0.33................ 120.00MZN\n\n";

cout<<"[5] Heineken garrafa 0.33............ 150.00MZN\n\n";

cout<<"[5] Heineken garrafa 0.25........... 150.00MZN\n\n";

cout<<"[5] 2M Txoti garrafa 0.25............ 150.00MZN\n\n";


cout<<"[5] 2M Flow garrafa 0.25............ 150.00MZN\n\n";

cout<<"[5] Laurentina Preta garrafa 0.25............ 150.00MZN\n\n";

cout<<"[5] Lite garrafa 0.25............ 150.00MZN\n\n";

cout<<"[5] Lite garrafa 0.33............ 150.00MZN\n\n";

cout<<"What is your drinks: ";

cin>>drinks;

cout<<"How many?: ";

cin>>drinksQty;

case 3:

cout<<" Hamburguer de Frango completo.............. 450.00MZN X "

<<mealQty<<" = "<<mealQty * BurgerFrangoC<<"\n";

AmountOfSaleBurgerFrangoC = mealQty * BurgerFrangoC;

break;

case 4:

cout<<" Hamburguer Completo.............. 390.00MZN X "

<<mealQty<<" = "<<mealQty * BurgerC<<"\n";

AmountOfSaleBurgerC = mealQty * BurgerC;

You might also like