Imports System, Microsoft.VisualBasic
Const TAX_RATE As Single = 0.06625
Const DISCOUNT_RATE As Single = 0.2
Dim subTotal, finalCost, discountTotal, salesTax, totalCost As Single
Console.WriteLine("Enter the total cost of items: ")
totalCost = Console.ReadLine()
discountTotal = totalCost * DISCOUNT_RATE
subTotal = totalCost - discountTotal
salesTax = subTotal * TAX_RATE
finalCost = subTotal + salesTax
Console.WriteLine("Discount: " & FormatCurrency(discountTotal))
Console.WriteLine("Subtotal: " & FormatCurrency(subTotal))
Console.WriteLine("Sales Tax: " & FormatCurrency(salesTax))
Console.WriteLine("Final Cost: " & FormatCurrency(finalCost))