Here is an array of five numbers randomly generated and between 0 and 10 :

Refresh to have a new array

7
10
2
1
4

The median of this array is 4