+ 1
Write a programme to store 10 elements in two Single Dimension Array (S.D.A) in java.
●To merge all the elements then ●To remove duplicate elements ●To sort them in descending order Output must be like this ●Merge ●Elimimated Duplicate no.s ●Decending order (plzz help me in doing this programme by writing the codes for me in java ) this programme must have void input
4 ответов
+ 19
if u'll see java lesson
//U will find functions for that like Arrays.sort () & for reverse also
//for removing duplicte elements ... i just thinked of an idea ,
1)run for loop from a = 0 to n-2 element's index of the array & run a loop inside that loop (a+1 to n-1) & if array [a] matches ... then make that element "" , & then run a loop to take elements other than "" in another loop
+ 2
plzz reply as fast as you can
0
any one can help
- 1
plzz construct it for me