Imports System, Microsoft.VisualBasic
Dim packageWeight As Single
Console.WriteLine("Enter the weight of your package: ")
packageWeight = Console.ReadLine()
Console.WriteLine("Please enter if you would like priority shipping (P) or express shipping (E): ")
shippingType = Console.ReadLine()
If shippingType = "P" Then
If packageWeight <= 8 Then
Else If packageWeight > 8 And packageWeight <= 16 Then
Else If packageWeight > 16 Then
total = (packageWeight - 16) * (0.30) + 7.95
Else If shippingType = "E" Then
If packageWeight <= 16 Then
Else If packageWeight > 16 Then
total = Math.Ceiling(packageWeight / 16) * 10.95
Console.WriteLine("The shipping price is: " & FormatCurrency(total))