Commit f45a0aac by albrat

Update main.c

parent bf8bb279
Showing with 16 additions and 17 deletions
int main(void) #include <stdio.h>
{ #include "header.h"
isik inimesed[], *mehed, *naised; #include "functions.c"
int main() {
FILE *autod; Auto autos[MAX_AUTOS];
autod=fopen(nimi,"r"); load_autos(autos);
if (kontrollifail(autod) == 0) Owner owners[MAX_OWNERS];
{ load_owners(owners);
printf("Pole faili.\n");
return 1; find_most_powerful_car(autos);
} find_oldest_car(autos);
find_newest_car(autos);
return 0;
return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment