Dim Punc(3, 4, 5) as Integer
Dim UserChoice As Integer
Console.WriteLine("MENU OF OPTIONS")
Console.WriteLine("Task 1")
Console.WriteLine("Task 2")
Console.WriteLine("Task 3")
Console.WriteLine("Enter number 1 - 3")
UserChoice = Console.ReadLine()
Loop Until UserChoice >= 1 And UserChoice <= 3
Console.WriteLine("Task 1")
Console.WriteLine("enter the data for " & day & " of week " & week & ", bus " & bus)
Punc(i, j, k) = Console.ReadLine()
Console.writeline(Punc(i, j, k))
Dim Cookedavrg as Decimal
Dim Negativetotal as Integer
Dim Punc2 as Integer(,,) = {{{0, 0, 2, 1, -1, 0}, {0, 1, 0, 0, -1, -5}, {0, 0, -1, 0, -1, -5}, {2, 0, -1, 0, -2, -5}, {2, 1, -2, 0, -4, -4}}, {{4, 2, -2, 0, -10, -3}, {0, 0, -3, 0, -2, -5}, {3, 0, -1, 0, 0, 0}, {4, 0, 0, 0, 0, 0}, {-2, 0, 0, 0, 0, 0}}, {{-5, 1, -2, 2, 0, 0}, {0, 0, 0, 0, 1, -2}, {0, 0, 1, 0, 2, -3}, {3, 0, 1, 0, -3, 1}, {4, 2, 1, 0, 1, 1}}, {{-1, 0, 1, 0, 1, 1}, {8, 0, -1, 0, 3, 0}, {1, 1, -1, 0, -1, 0}, {1, 0, 2, 0, 0, -2}, {-2, 0, -2, 0, 0, -5}}}
Total2 = Total2 + Punc2(i, j, k)
Negativetotal = Negativetotal + Punc2(i, j, k)
console.WriteLine("bus route " & bus & " was late " & total & " times")
console.WriteLine("On average" & average & "time")
Bigbus = bus & " & " & Bigbus
Cookedavrg = Negativetotal / Total
console.WriteLine(Cookedavrg)
console.WriteLine(Maxtotal & Bigbus)
Console.WriteLine("Task 2")
Dim Punc2 as Integer(,,) = {{{0, 0, 2, 1, -1, 0}, {0, 1, 0, 0, -1, -5}, {0, 0, -1, 0, -1, -5}, {2, 0, -1, 0, -2, -5}, {2, 1, -2, 0, -4, -4}}, {{4, 2, -2, 0, -10, -3}, {0, 0, -3, 0, -2, -5}, {3, 0, -1, 0, 0, 0}, {4, 0, 0, 0, 0, 0}, {-2, 0, 0, 0, 0, 0}}, {{-5, 1, -2, 2, 0, 0}, {0, 0, 0, 0, 1, -2}, {0, 0, 1, 0, 2, -3}, {3, 0, 1, 0, -3, 1}, {4, 2, 1, 0, 1, 1}}, {{-1, 0, 1, 0, 1, 1}, {8, 0, -1, 0, 3, 0}, {1, 1, -1, 0, -1, 0}, {1, 0, 2, 0, 0, -2}, {-2, 0, -2, 0, 0, -5}}}
console.WriteLine("nth day of the week")
Dayz = Console.readline()
console.WriteLine("enter week")
Weeknum=console.ReadLine()
COnsole.WriteLine("for Bus" & bus & " " & Punc2(weeknum-1,dayz-1,i))
Console.WriteLine("Task 3")