n align="justify"> if (strcmpi (V [i]. word, V [j]. word)> 0) {
. strcpy (b, V [i]. word);
. strcpy (V [i]. word, V [j]. word);
. strcpy (V [j]. word, b);
. a = V [i]. num;
. V [i]. num = V [j]. num;
. V [j]. num = a;}}}
. }
142. int main ()
. {
. int w;
. setlocale (LC_ALL, "Russian");
. while (1) {
. clrscr ();
. printf ("============================= n ");
. printf ("Kursovoi proekt n");
. printf ("Vypolnil student gryppy 12-94 n");
. printf ("Romanov AS n");
. printf ("============================= n ");
153. printf ("MENU n");
154. printf ("1: Read from file n");
. printf ("2: Rezult n");
. printf ("3: Write in file n");
. printf ("4: Exit n");
. scanf ("% d", & w);
. switch (w) {
. case 1: Read (& e); Delete (& e); g = Scan (V, & e); break;
. case 2: Sort (V, g); Output (V, & e, g); break;
. case 3: Sort (V, g); Write (V, & e, g); break;
163. case 4: exit (0);}
. }
. }