Untitled
Sayeh
plain_text
3 years ago
301 B
5
Indexable
1 get the size of array then size++ 2 get numbers and put them in an array with the constant size 3 get another number from user 4 sort numbers decending 5 if one element is bigger than next element then swap the two elements of array (do it untill reach the last element 6 print the final array
Editor is loading...