{ string[,] items = new string[,] {{"Eggs","10"}, {"Bread","15"},{"noodlesl","20"},{"juice","30"},{"vegetables","200"};
input = Console.ReadLine();
Console.WriteLine("Enter quantity: ");
index = Convert.ToInt32(input)+1;
quantity = Convert.ToInt32(Console.ReadLine());
price += quantity * Convert.ToInt32(items[index,1]);
Console.WriteLine("Your total: "+price);
public float Calculate_GST(float org_cost,
return (((N_price - org_cost) * 100)
public static void Main ()
Console.Write(" GST = " + Calculate_GST
(org_cost, N_price) + "%");