Курсовая работа: Создание базы данных "Стадионы города" на языке C
strcpy (s [num-1]. N_sp [i],temp. N_sp [i]);
alf ();
printf ("Record is changed\n"); getch ();
}
return;
}
void prin_vmes () {int i, cap;
clrscr ();
printf ("\t\t\tSEAL ON CAPACITY\n");
printf ("Choose a kind: \n");
printf ("1. =\n");
printf ("2. >\n");
printf ("3. <\n");
printf ("4. >=\n");
printf ("5. <=\n");
switch (getch ()) {
case '1': printf ("Enter capacity (=): ");
scanf ("%d",&cap);
prin_head ();
for (i=0; i<Count; i++)
if (s [i]. Sapacity==cap) prin (i);
break;
case '2': printf ("Enter capacity (>): ");
scanf ("%d",&cap);
prin_head ();
for (i=0; i<Count; i++)
if (s [i]. Sapacity>cap) prin (i);
break;
case '3': printf ("Enter capacity (<): ");