Сделал 1 Задание со списками

This commit is contained in:
AZEN-SGG 2024-10-04 10:43:43 +03:00
parent 5dbf4901b8
commit 632a718df1
71 changed files with 106 additions and 0 deletions

17
13Ex/main.c Normal file
View file

@ -0,0 +1,17 @@
#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 (equal(numbers)) printf("They are different");
else printf("They are the same");
return 0;
}