Сделал 1 Задание со списками
This commit is contained in:
parent
5dbf4901b8
commit
632a718df1
71 changed files with 106 additions and 0 deletions
17
ProcessingSequences/Fourth/main.c
Normal file
17
ProcessingSequences/Fourth/main.c
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <stdio.h>
|
||||
#include "get_file.h"
|
||||
#include "max_difference.h"
|
||||
|
||||
/*
|
||||
36 Çàäà÷à
|
||||
*/
|
||||
|
||||
int max(int first, int second);
|
||||
int maxDifference(FILE * file);
|
||||
|
||||
int main(void) {
|
||||
FILE * file = getFile();
|
||||
if (file == NULL) return -1;
|
||||
printf("Maximum difference between elements is %d", maxDifference(file));
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue