asked 136k views
3 votes
You are given an array x of int elements along with an int variable n that contains the number of elements in the array . there are no duplicates in this array . you are also given an int variable m that has been declared . assign to m the median value of the array .

asked
User Marlhex
by
7.8k points

1 Answer

5 votes
x = [1,2,3,4,5]

n = 5

m = 3

Replace with any numbers you want.
answered
User Malik Bilal
by
8.3k points