ФІО = Чтение с файла числовой информации + сортировка + рандом Запитання:#include #include #include #include #include #define PROGRAM_CONSOLE_IN_MODE //#define PROGRAM_RANDOM_MODE //#define PROGRAM_FILE_IN_MODE //#define DEBUGMODE using namespace std; void swap(double *a, double *b) { double temp = *a; *a = *b; *b = temp; } void PrintArray(double *a, int length) { for (int i = 0 ; i < length ; i++) { cout<<*(a+i)<<"\t"; } cout<>count; #endif #ifdef PROGRAM_CONSOLE_IN_MODE cout << "Enter array length : "; cin >> count; if (count <=1) { cout<<"Invalid array length!"; system("pause"); return 0; } #endif #ifdef PROGRAM_RANDOM_MODE cout << "Enter array length : "; cin >> count; #endif double *mas = new double[count]; #ifdef PROGRAM_FILE_IN_MODE for (int i = 0 ; i < count ; i++) { fin>>*(mas+i); } fin.close(); #endif #ifdef PROGRAM_CONSOLE_IN_MODE for (int i = 0 ; i < count ; i++) { cout<<"Enter [ "<