// Daniel Wojnarowski // Ćwiczenie 07-05 finclude <stdio.h> finclude <limits.h>
int main()
{
FILE* file;
file = fopen( "dane.x", "r+" ); int size;
fscanf( file, "%d", &size ); int min;
fscanf( file, "%d", &min ); int i;
for( i = 1; i < size; i ++ )
{
int buffer;
fscanf( file, "%d", Sbuffer)
if( buffer > min ) min = buffer;
printf( "Maximum: %d\n", min ); return 0;