so i got an assignment where i have to change it to find the total of the last array instead of what its doing now and finding the average


this is the array

passengerData[0] = ["Homer",...