Dim SizeNames(2) As String
Dim SizePrices(2) As Decimal
Dim BreadNames(4) As string
Dim BreadPrices(4) As Decimal
Dim FillingNames(6) As string
Dim FillingPrices(6) As Decimal
Dim TotalPrice As Decimal = 0
Dim SizeChoice, Breadchoice, Fillingchoice, Where As Integer
Console.WriteLine("Size")
Console.WriteLine(i & ". " & SizeNames(i) & " £" & SizePrices(i))
Console.WriteLine("Please enter 1 - 2")
SizeChoice = Console.ReadLine()
loop until SizeChoice >= 1 and SizeChoice <= 2
TotalPrice = TotalPrice + SizePrices(SizeChoice)
TotalPrice = TotalPrice + BreadPrices(BreadChoice)
BreadNames(3) = "Italian"
BreadNames(4) = "Cheese & Herbs"
Console.WriteLine("Bread type")
Console.WriteLine(i & ". " & BreadNames(i) & " £" & BreadPrices(i))
Console.WriteLine("Please enter 1 - 4")
BreadChoice = Console.ReadLine()
loop until BreadChoice >= 1 and BreadChoice <= 4
TotalPrice = TotalPrice + BreadPrices(BreadChoice)
TotalPrice = TotalPrice + BreadPrices(BreadChoice)
FillingNames(1) = "Cheese & tomato"
FillingNames(2) = "Italian Bacon & pepperoni"
FillingNames(3) = "Tuna & Mayo"
FillingNames(4) = "Turkey & Ham"
FillingNames(5) = "Chicken Teriyaki"
FillingNames(6) = "Steak & Cheese"
Console.WriteLine("Filling type")
Console.WriteLine(i & ". " & fillingNames(i) & " £" & fillingPrices(i))
Console.WriteLine("Please enter 1 - 6")
fillingChoice = Console.ReadLine()
loop until fillingChoice >= 1 and fillingchoice <= 6
TotalPrice = TotalPrice + fillingPrices(fillingChoice)
Console.WriteLine("If eat in enter 1, if take away enter 2")
totalprice = totalprice*1.05
Loop until where >= 1 and where <= 2
Console.WriteLine("Total price = £" & TotalPrice)