C program to sort an array
Submit solution
C
Points:
10 (partial)
Time limit:
8.0s
Memory limit:
38M
Author:
Problem type
Allowed languages
Problem Statement
WAP to sort an array a.Ascending order b.Descending order
Sample Input
8 3 2 6 5
Sample Output
2 3 5 6 8
8 6 5 3 2
Comments