Write a 6800 program which sorts the values in an array of positive integers in descending order (that is, from the largest value to the smallest value). You can modify the array in place, or you can choose to create a new array with the sorted values. Here is an example of the input array (called data in this example) - the array is terminated with negative one (-1):data .byte 2,9,4,3,5,6,1,3,2,5,4,1,1,-1 After the program runs, the output will contain unique values (in any order), for example:
data .byte 9,6,5,5,4,4,3,3,2,2,1,1,1,-1
Remember that you can use a separate array for the output, or you can replace the original array. The input array can be any length and is terminated by a negative one (that is, -1 is not a value in the array but is simply used to mark the end of the array).
5 freelance font une offre moyenne de $43 pour ce travail
Hi there, I went through you requirements and I would like to do this project if given the opportunity. Let me know if you are interested.