public static void Main()
int quantity, cash, change;
Console.WriteLine("Welcome To Store 101");
Console.WriteLine("item id: 001 | Item Name: Item 1 | Price: P20");
Console.WriteLine("item id: 002 | Item Name: Item 2 | Price: P40");
Console.WriteLine("item id: 003 | Item Name: Item 3 | Price: P60");
Console.Write("Select Item Id: ");
choice = Console.ReadLine();
Console.WriteLine("Item Selected: item id: 001 | Item Name: Item 1 | Price: P20");
Console.Write("Input Quantity: ");
quantity = Int32.Parse(Console.ReadLine());
Console.WriteLine("Total: " + total);
Console.Write("Cash Rendered: ");
cash = Int32.Parse(Console.ReadLine());
Console.WriteLine("Change: " + change);
Console.WriteLine("Not Enough Cash");
else if (choice == "002")
Console.WriteLine("Item Selected: item id: 002 | Item Name: Item 2 | Price: P40");
Console.Write("Input Quantity: ");
quantity = Int32.Parse(Console.ReadLine());
Console.WriteLine("Total: ", total);
Console.Write("Cash Rendered: ");
cash = Int32.Parse(Console.ReadLine());
Console.WriteLine("Change: " + change);
Console.WriteLine("Not Enough Cash");
else if (choice == "003")
Console.WriteLine("Item Selected: item id: 003 | Item Name: Item 3 | Price: P60");
Console.Write("Input Quantity: ");
quantity = Int32.Parse(Console.ReadLine());
Console.WriteLine("Total: " + total);
Console.Write("Cash Rendered: ");
cash = Int32.Parse(Console.ReadLine());
Console.WriteLine("Change: " + change);
Console.WriteLine("Not Enough Cash");
Console.WriteLine("You Enter the wrong Item ID!");
Console.Write("Enter 'Y' for another transaction Or Enter any key to exit:");