Saturday, October 25, 2014

Reflection 10


  1. void input(int *n, double a[]) - repeat input array of positive double until entering a double < 0

2.void display(double a[], int n) - display
3.void listmin(double a[], int n) - print the min and the index of min

4.void sort(double a[], int n) - sort array in descending order

5. int main() to show the result of above functions

6.Kết Quả


Link C :sort

No comments:

Post a Comment