Сделал 22 Задание Массивов

This commit is contained in:
AZEN-SGG 2024-10-09 15:51:25 +03:00
parent c3182c8c24
commit 5852a9f034
23 changed files with 99 additions and 31 deletions

15
WorkingArrays/15Ex/main.c Normal file
View file

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