dim batsmanHigh1 as string
dim score1(0 to 10) as integer
Console.WriteLine("Input the first teams name")
team1 = Console.ReadLine()
Console.WriteLine("Input the second teaams name")
team2 = Console.ReadLine()
dim batsmanHigh as string
dim batsman2(0 to 10) as string
dim batsman(0 to 10) as string
dim score(0 to 10) as integer
batsman2(0) = "Steve Smith"
batsman2(1) = "David Warner"
batsman2(2) = "Aaron Finch"
batsman2(3) = "Pat Cummins"
batsman2(4) = "Glenn Maxwell"
batsman2(5) = "Matthew Wade"
batsman2(6) = "Mitchell Starc"
batsman2(7) = "Alex Carey"
batsman2(7) = "Nathan Lyon"
batsman2(8) = "Marcus Stoinis"
batsman2(9) = "Adam Zampa"
batsman2(10) = "Kane Richardson"
batsman(0) = "Jonny Bairstow"
batsman(2) = "Eoin Morgan"
batsman(4) = "James anderson"
batsman(6) = "Tom Banton"
batsman(7) = "Dominic Bess"
batsman(8) = "Sam Billings"
batsman(9) = "James Bracey"
batsman(10) = "Danny Briggs"
Console.WriteLine(team1 & " " & batsman(0) & " " & score(0))
Console.WriteLine(team1 & " " & batsman(1) & " " & score(1))
Console.WriteLine(team1 & " " & batsman(2) & " " & score(2))
Console.WriteLine(team1 & " " & batsman(3) & " " & score(3))
Console.WriteLine(team1 & " " & batsman(4) & " " & score(4))
Console.WriteLine(team1 & " " & batsman(5) & " " & score(5))
Console.WriteLine(team1 & " " & batsman(6) & " " & score(6))
Console.WriteLine(team1 & " " & batsman(7) & " " & score(7))
Console.WriteLine(team1 & " " & batsman(8) & " " & score(8))
Console.WriteLine(team1 & " " & batsman(9) & " " & score(9))
Console.WriteLine(team1 & " " & batsman(9) & " " & score(9))
Console.WriteLine(team2 & " " & batsman(0) & " " & score1(0))
Console.WriteLine(team2 & " " & batsman(1) & " " & score1(1))
Console.WriteLine(team2 & " " & batsman(2) & " " & score1(2))
Console.WriteLine(team2 & " " & batsman(3) & " " & score1(3))
Console.WriteLine(team2 & " " & batsman(4) & " " & score1(4))
Console.WriteLine(team2 & " " & batsman(5) & " " & score1(5))
Console.WriteLine(team2 & " " & batsman(6) & " " & score1(6))
Console.WriteLine(team2 & " " & batsman(7) & " " & score1(7))
Console.WriteLine(team2 & " " & batsman(8) & " " & score1(8))
Console.WriteLine(team2 & " " & batsman(9) & " " & score1(9))
Console.WriteLine(team2 & " " & batsman(10) & " " & score1(10))
batsmanHigh1 = batsman(x)
Console.WriteLine("Highest score for England: " & max & " by " & batsmanHigh)
Console.WriteLine("Highest score for Australia: " & max1 & " by " & batsmanHigh1)
total = score(0) + score(1) + score(2) + score(3) + score(4) + score(5) + score(6) + score(7) + score(8) + score(9) + score(10)
total1= score1(0) + score1(1) + score1(2) + score1(3) + score1(4) + score1(5) + score1(6) + score1(7) + score1(8) + score1(9) + score1(10)
Console.WriteLine("The average score for team 1 was: " & total/11)
Console.WriteLine("The average score for team 2 was: " & total1/11)