Visual Studio Code – I want to write a cashier program using C# while, it should add the final total but it just keeps showing the price right underneath
I wanted it to look like this: And here's my result: This is my code private static void Main(string[] args) { Console.WriteLine("CASHIER"); Console.WriteLine("Enter Quantity of Products: "); int qty = Convert.ToInt32(Console.ReadLine()); if (qty > 5) { Console.WriteLine("Maximum of 5 products");…