static void Main(string[] args)
Console.WriteLine("Scannez les produits");
var scannedProduct = Console.ReadLine();
var total = CashRegister.CalculateTotal(catalog, discounts, productsList);
Console.WriteLine(total);
public class CashRegister
public static decimal CalculateTotal(List<Product> catalog, List<Discount> discounts, List<char> scannedProduct)
throw new NotImplementedException();