"> {fio [20]; marka [10]; nomer [9];
}; TAB
{fio [20]; marka [10]; nomer [9];
}; SORT (TAB * tab, int l); PUN1 (TAB * tab, int l); PUN2 (TAB * tab, int l); PUN3 (TAB * tab, int l); PUN4 (TAB * tab, int l); main ()
{FILE * f; BAZA b; TAB tab [MAX]; n; l=0, i, s, nomer; ((f=fopen ( BAZA.txt , r raquo ;)) == NULL)
{puts ( faila poezd net ); (); 0;
} (fgets ((char *) amp; b, sizeof (struct BAZA), f)!=NULL)
{. fio [19]= 0 raquo ;; (tab [l] .fio, b.fio) ;. marka [9]= 0 raquo ;; (tab [l ] .marka, b.marka);
b.nomer [8]= 0 raquo ;; (tab [l] .nomer, b.nomer);
l ++;
} (tab, l);
{ //clrscr();(laquo;clsraquo;);(laquo;---------------------------------------------------------------------raquo;);(laquo;Vibirete nomer punkta menu: ); ( 1-polnaya informazia o vladelcah ); ( 2-poisk po nomeru ); ( 3-poisk vladelca i nomera po marke );
puts ( 4-kolichestvo avtomobilei kajdoi marki );
puts(laquo;5-vihodraquo;);(laquo;---------------------------------------------------------------------raquo;);=getche();(n)
{case 1 : PUN1 (tab, l); break; 2 : PUN2 (tab, l); break; 3 : PUN3 (tab, l); break; 4 : PUN4 (tab, l); break; 5 : break;: puts ( Vvidite nomer ot 1 do 5 );
} (n!= 5 )
{puts ( n n n Dlya vihoda v menu najmite lubyu knopky ); ();
}
} (n!= 5 ); (f); 1;
} PUN1 (TAB * tab, int l)
{int j=0, z=1;
{// clrscr (); ( cls ); ( n Familia IO | Marka | Nomer ); ( ------------------------------------------ ); (j; j lt; l; j ++)
{if (j lt; (10 * z)) ( n% s |% s |% s raquo ;, tab [j] .fio, tab [j] .marka, tab [ j] .nomer);
{z ++; ( nNajmite lubyu knopky chto bi vivesti sled 10 ); getch () ;; ( cls );
}
}
} (l gt; j);
} PUN2 (TAB * tab, int l)
{int j, u=0, i, z=0; p=0; r [9];
//clrscr (); ( cls ); ( nvvedite nomer mashini n ); (r);
//clrscr (); ( cls ); (j=0; j lt; 6; j ++)
{((j == 0) || (j == 4) || (j == 5))
{if ((r[j]lt;laquo;Araquo;)||(r[j]gt;laquo;Zraquo;))++;}((r[j]lt;laquo;0raquo;)||(r[j]gt;laquo;9raquo;))++;
} (p == 0)
{puts ( n Familia IO | Marka | Nomer ); ( ------------------------------------------ ); (i=0; i lt; l; i ++)
{z=0; (j=0; j lt; 6; j ++)
{if (tab [i] .nomer [j] == r [j])
{z ++; }
} (z == 6)
{printf ( n% s |% s |% s raquo ;, tab [i] .fio, tab [i] .marka, tab [i] .nomer); u ++;}
} (u == 0)
{// clrscr (); ( cls ); ( Takogo nomera net );}
} ( Nomer vveden ne pravelno );
} PUN3 (TAB * tab, int l)
{int i, j, z=0, t=0, n; mar [20];
//clrscr (); ( cls ); ( vvedite marky mashini );
gets (mar);=strlen (mar);
//clrscr (); ( cls ); ( n Familia IO | Marka | Nomer ); ( ------------------------------------------ ); (j=0; j lt; l; j ++, z=0)
{for (i=0; i lt; n; i ++)
{if (tab [j] .marka [i] == mar [i])
{z ++; }
} (tab [j] .marka [i] == || tab [j] .marka [i] == 0 )
{if (z == n)
{printf ( n% s |% s |% s raquo ;, tab [j] .fio, tab [j] .marka, tab [j] .nomer);
t ++;
}
}
} (t == 0)
{// clrscr (); ( cls );
printf ( nmarki% s net raquo ;, mar);
}
} PUN4 (TAB * tab, int l)
{mar [10]; z=0, j, i, q; w=1; ( cls );
//q=strlen (tab [0] .marka);
//strcpy (mar, tab [0] .marka); ( n Marka | Kolichestvo ); (j=0; j lt; l; j ++)
{if (strcmp (tab [j + 1] .marka, tab [j] .marka) gt; 0)
{printf ( n% s |% .0f raquo ;, tab [j] .marka, w);=1;
/* strcpy (mar, tab [j] .marka); - * /}
{+...