public static void Main()
{Console.WriteLine("Menu : Food Items Price");
Console.WriteLine(" B=Burger Rs 200");
Console.WriteLine(" F=French fries Rs 50 ");
Console.WriteLine(" P=Pizza Rs 500 ");
Console.WriteLine(" S=Sanwiches Rs 150 ");
Console.WriteLine("Enter number of items you want to order");
numitems = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Which item you want to order B/F/P/S?");
item = Console.ReadLine();
Console.WriteLine("Enter quantity of item you want to order.");
qty = Convert.ToInt32(Console.ReadLine());
Bsale = Bsale+itemcost; }
Fsale = Fsale+itemcost; }
Psale = Psale+itemcost; }
Scount=Scount+1; count=count+1;
Console.WriteLine(qty + order+ "(s)" + "value" + itemcost + "PKR");
Totalsale= Totalsale+itemcost;
} while (count == numitems);
Console.WriteLine("Total : " + total + "PKR");
Console.WriteLine("Thank you for your order . Have a nice day.");
if ((Bcount> Fcount) && (Bcount > Pcount) && (Bcount > Scount))
{ Console.WriteLine("Burger is the most running item") ;}
else if ((Fcount> Bcount) && (Fcount > Pcount) && (Fcount> Scount))
{ Console.WriteLine("French fries is the most running item"); }
else if ((Pcount> Fcount) && (Pcount> Scount) && (Pcount> Bcount)){
Console.WriteLine("Pizza is the most running item");}
else if ((Scount> Fcount) && (Scount > Pcount) && (Scount> Bcount))
{Console.WriteLine("Sandwich is the most running item");}
Console.WriteLine("Total sale of burgers = " + Bsale );
Console.WriteLine("Total sale of french fries = " + Fsale );
Console.WriteLine("Total sale of pizza = " + Psale );
Console.WriteLine("Total sale of sandwiches = " + Ssale );
Console.WriteLine("Total sale of the day =" + Totalsale);