#include #include using namespace std; typedef double ItemT; const int MAX_NUMBERS = 10; const ItemT MIN_VALUE = -100; const ItemT MAX_VALUE = 100; void FillArray(ItemT values[]); void PrintArray(const ItemT values[]); void SortArray(ItemT values[], size_t size); int main() { ItemT values[MAX_NUMBERS]; srand48(time(nullptr)); FillArray(values); cout << "The unsorted array is " << endl; PrintArray(values); SortArray(values, MAX_NUMBERS); cout << "The sorted array is " << endl; PrintArray(values); return 0; } void FillArray(ItemT values[]){ size_t i; for(i=0;i