namespace SushiBarQuestion
static void Main(string[] args)
Console.WriteLine("input number of gold plates eaten:");
gold = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("input number of gold silver eaten:");
silver = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("input number of gold bronze eaten:");
bronze = Convert.ToInt32(Console.ReadLine());
totalPrice = CalculateCost(gold, silver, bronze);
Console.WriteLine($"The total price is £{totalPrice}. The number of plates eaten is {gold + silver + bronze}.");
static float CalculateCost(int g, int s, int b)
float totalPrice = g * gold + s * silver + b * bronze;