TeamA:Arranging team A members height in ascending order.
⇒ 175,176,178,180,181,187,190
Number of players =7
⇒ Average height of team A =175+176+178+180+181+187+1907=12677=181
Number of players are in odd numbers.
∴ Median=(n+12)thplayer=4thplayer
∴ Median=180
TeamB:
Arranging team A players height in ascending order.
⇒ 174,175,177,178,179,185,190
Number of players =7
⇒ Average height of team B=174+175+177+178+179+185+1907=12587=179.71
Number of players are in odd numbers.
∴ Median=(n+12)thplayer=4thplayer
∴ Median=178
∴ We can see team A players has greater average height.