Сделал 13 усовершенствованную с иным заданием

This commit is contained in:
AZEN-SGG 2024-10-18 10:00:53 +03:00
parent 5852a9f034
commit 3f5c6299fc
11 changed files with 146 additions and 5 deletions

View file

@ -0,0 +1,19 @@
#include <stdio.h>
#include "tools.h"
#include "equal.h"
int main(void) {
double * numbers;
FILE * file = getFile();
if (file == NULL) return 1;
numbers = getList(file);
if (numbers == NULL) return 1;
if (canFixArray(numbers)) printf("It can't be fixed!");
else printf("It is possible to make them equal!");
free(numbers);
return 0;
}