You are on page 1of 2

Customer: Hello. spk.

SpeakAsync("Hi");
You: Welcome to SPACE FASTFOOD, may I break;
take your order?
case "order":
Customer: Yes, I’d like a Hot Burger Combo
try
please.
{
You: What drink would you like?
xint = x.Next(0, 14);
Customer: Coke please.
spk.SpeakAsync("Yes, I'd like a" + order[xint] +
You: Would you like any desserts or ice
"please");
cream?
str += order[xint] + "--------------" + orderp[xint] +
Customer: No thanks, that’ll be all.
"php\n";
You: Okay, that comes to $8.50.
price += orderp[xint];
Customer: Here you are.
}
You: Your order will be ready shortly. Thanks
catch
for visiting SPACE FASTFOOD, have a nice
day. {
Customer: Thank you. spk.SpeakAsync("What? I don't understand
you.");
}
Customer: Hello.
break;
You: Welcome to SPACE FASTFOOD, may I
take your order? case "anything else":
Customer: Yes, I’d like a Hot Burger Combo try
please.
{
You: What drink would you like?
ans = x.Next(0, 3);
Customer: Coke please.
if (ans == 0)
You: Would you like any desserts or ice
cream? {

Customer: No thanks, that’ll be all. spk.SpeakAsync("No thanks, that'll be all");

You: Okay, that comes to $8.50. btn_Disable.PerformClick();

Customer: Here you are. }

You: Your order will be ready shortly. Thanks else


for visiting SPACE FASTFOOD, have a nice {
day.
xint = x.Next(0, 14);
Customer: Thank you.
spk.SpeakAsync("yes, " + order[xint] +
"please.");
case "hello":
str += order[xint] + "--------------" + orderp[xint] + price += FrenchP[Frenchs];
"php\n";
break;
price += orderp[xint];
default:
}
ans = x.Next(0, 3);
}
spk.SpeakAsync("Thank you.");
catch
break;
{
spk.SpeakAsync("What? I don't understand
you.");
}
break;

case "drinks":
dri = x.Next(0, 4);
spk.SpeakAsync("Yes, give me one" +
drink[dri] + "please");
str += drink[dri] + "------------" + drinkp[dri] +
"php\n";
price += drinkp[dri];
break;
case "dessert":
IceCreams = x.Next(0, 4);
spk.SpeakAsync("Yes, give me one" +
IceCream[IceCreams]);
str += IceCream[IceCreams] + "------------" +
IceCreamP[IceCreams] + "php\n";
price += IceCreamP[IceCreams];
break;
case "fries":
Frenchs = x.Next(0, 2);
spk.SpeakAsync("Yes, give me one" +
French[Frenchs]);
str += French[Frenchs] + "------------" +
FrenchP[Frenchs] + "php\n";

You might also like