Сделал Сортировку

This commit is contained in:
AZEN-SGG 2024-11-22 09:45:40 +03:00
parent a83a31c034
commit 0d98154944
8 changed files with 152 additions and 94 deletions

20
Sorting/9Ex/tools.h Normal file
View file

@ -0,0 +1,20 @@
#ifndef TOOLS
#define TOOLS
#include "seagwithsob.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define exp -1.e-6
FILE * getFile();
double * getArray(FILE * file);
bool orderliness(double * array, int length);
void randomArray();
void generate(double * array, int length);
void printArray(double * array, int length);
#endif