Write a programme to store 10 elements in two Single Dimension Array (S.D.A) in java. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

18th Feb 2018, 10:42 PM
Siddhart Bhattacharjee
Siddhart Bhattacharjee - avatar
4 Answers
+ 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
19th Feb 2018, 3:14 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
plzz reply as fast as you can
18th Feb 2018, 10:45 PM
Siddhart Bhattacharjee
Siddhart Bhattacharjee - avatar
0
any one can help
19th Feb 2018, 3:59 PM
Siddhart Bhattacharjee
Siddhart Bhattacharjee - avatar
- 1
plzz construct it for me
19th Feb 2018, 3:21 AM
Siddhart Bhattacharjee
Siddhart Bhattacharjee - avatar