Untitled

Sayeh avatar
Sayeh
plain_text
11/25/2022 11:04 PM
404 B
16
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...