Сделал 15 Задание с массивами

This commit is contained in:
AZEN-SGG 2024-10-07 16:04:27 +03:00
parent 632a718df1
commit 427a6611df
9 changed files with 112 additions and 0 deletions

14
15Ex/main.c Normal file
View file

@ -0,0 +1,14 @@
#include <stdio.h>
#include "tools.h"
#include "replace_local_min.h"
int main(void) {
double * numbers;
FILE * file = getFile();
numbers = getList(file);
if (numbers == NULL) return 1;
printf("Count elements in file: %d", replaceLocalMin(numbers));
free(numbers);
}