Commit f45a0aac by albrat

Update main.c

parent bf8bb279
Showing with 11 additions and 12 deletions
int main(void) #include <stdio.h>
{ #include "header.h"
isik inimesed[], *mehed, *naised; #include "functions.c"
int main() {
Auto autos[MAX_AUTOS];
load_autos(autos);
FILE *autod; Owner owners[MAX_OWNERS];
autod=fopen(nimi,"r"); load_owners(owners);
if (kontrollifail(autod) == 0)
{
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