console.WriteLine("Enter the package weight: ")
weight = console.ReadLine()
console.WriteLine("Enter the package length: ")
length = console.ReadLine()
console.WriteLine("Enter the package width: ")
width = console.ReadLine()
console.WriteLine("Enter the package height")
height = console.ReadLine()
volume = length * width * height
If weight <= 27 And volume <= 100000 Then
message = "Package accepted"
ElseIf weight <= 27 And volume > 100000 Then
message = "Rejected: too large"
ElseIf weight > 27 And volume <= 100000 Then
message = "Rejected: too heavy"
ElseIf weight > 27 And volume > 100000 Then
message = "Rejected: too large and too heavy"
console.WriteLine(message)