Commit f45a0aac by albrat

Update main.c

parent bf8bb279
Showing with 16 additions and 17 deletions
int main(void)
{
isik inimesed[], *mehed, *naised;
FILE *autod;
autod=fopen(nimi,"r");
if (kontrollifail(autod) == 0)
{
printf("Pole faili.\n");
return 1;
}
return 0;
#include <stdio.h>
#include "header.h"
#include "functions.c"
int main() {
Auto autos[MAX_AUTOS];
load_autos(autos);
Owner owners[MAX_OWNERS];
load_owners(owners);
find_most_powerful_car(autos);
find_oldest_car(autos);
find_newest_car(autos);
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