public static void Main()
string items = "filler" , item_type;
string[] total_items = new string[100];
string[] total_Itemtype = new string[100];
double Total = 0, items_price, Silver = 0.01, Taxapplied, Gold = 0.05, Platinum = 0.1, HAAT = 0.2, GCT = 0.175, discount, subtotal = 0;
double [] total_taxapplied = new double [1000];
Console.WriteLine("Please Enter item");
items = Convert.ToString(Console.ReadLine());
Console.WriteLine("Please Enter the Price");
items_price = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Enter if Item is Home Products and Appliances or if item is grocery");
item_type = Convert.ToString(Console.ReadLine());
if (item_type == "Home Products and Appliances") {
Taxapplied = (items_price * HAAT);
items_price = (items_price + Taxapplied);
Taxapplied = (items_price * GCT);
items_price = (items_price + Taxapplied);
total_items [Count] = items;
total_taxapplied [Count] = Taxapplied;
total_Itemtype [Count] = item_type;
subtotal = subtotal + items_price;
if (subtotal >= 1.00 && subtotal <= 10000.00){
discount = (subtotal * Silver);
Total = subtotal - discount;
Console.WriteLine("You have received a Silver Discount");
if (subtotal >= 10001.00 && subtotal <= 20000.00){
discount = (subtotal * Gold);
Total = subtotal - discount;
Console.WriteLine("You have received a Gold Discount");
if(subtotal >= 20001.00){
discount = (subtotal * Platinum);
Total = subtotal - discount;
Console.WriteLine("You have received a platinum Discount");
Console.WriteLine("===========================================");
Console.WriteLine("Shop Choice store");
Console.WriteLine("Address: Baymard 892 NE Ave 22 south street");
Console.WriteLine("Telephone#: 876-384-3943 ");
Console.WriteLine("date of purchase: 1/20/2020");
Console.WriteLine("Cashier’s name: John");
Console.WriteLine("===========================================");
for (int count2 = 0; count2 < Count; count2++){
Console.WriteLine ("Item is :" + total_items[count2] );
Console.WriteLine("Taxapplied is :" + total_taxapplied [count2]);
Console.WriteLine ("Item type is:" + total_Itemtype [count2]);
Console.WriteLine("===========================================");
Console.WriteLine ("Total to be Paid is :" + Total);