Imports System, Microsoft.VisualBasic
Dim packageWeight As Single
Dim shippingPrice As Single
Console.WriteLine("Enter your package weight")
packageWeight = Console.ReadLine()
Console.WriteLine("What speed would you like your package to be delivered at ((p)riority or (E)xpress)?")
mailSpeed = Console.ReadLine()
If packageWeight <= 8 Then
ElseIf packageWeight > 8 AND packageWeight <= 16 Then
ElseIf packageWeight > 16 Then
shippingprice = 7.95 + (packageWeight - 16) * 0.30
ElseIf mailSpeed = "E" Then
If packageWeight <= 16 Then
Elseif packageWeight > 16
shippingprice = 10.95 * math.Ceiling(packageWeight / 16)
Console.WriteLine("Your shipping price is " & FormatCurrency(shippingPrice))