public static void Main()
Console.WriteLine("Hi there! Welcome to our online electronics sale.");
Console.WriteLine("How many ps5 would you like to buy?");
byte num1 = byte.Parse(Console.ReadLine());
Console.WriteLine("How many Gaming pc would you like to buy?");
byte num2 = byte.Parse(Console.ReadLine());
Console.WriteLine("How many monitors would you like to buy?");
byte num3 = byte.Parse(Console.ReadLine());
Console.WriteLine("How many gaming chairs would you like to buy?");
byte num4 = byte.Parse(Console.ReadLine());
decimal cost1 = num1 * 74.99M;
decimal cost2 = num2 * 199.99M;
decimal cost3 = num3 * 34.99M;
decimal cost4 = num4 * 19.99M;
decimal subtotal = cost1 +cost2 + cost3 + cost4;
if(subtotal > 0 && subtotal <= 50)
Console.WriteLine("You're shipping cost is $7.99");
else if (subtotal > 50 && subtotal <= 100)
Console.WriteLine("You're shipping cost is $9.99");
Console.WriteLine("You're shipping cost is $0");
Console.WriteLine("Please enter a valid amount");
decimal tax = subtotal * .08265M;
decimal grand = tax + shipping + subtotal;
Console.WriteLine("Your grand total is " + grand + ".");
Console.WriteLine("Would you like to continue shopping, Yes/No?");
string choice = Console.ReadLine();
if (choice =="y" || choice == "Y")