u)
{
if (Zabiraem (u, x))
{
if (strcmp (n, x.marka) == 0)
{
cout <
while (Zabiraem (& v, x))///повертаємо елементи з стека V в стек U
dobavlenie (u, x);
return;
}
else
{
dobavlenie (& v, x);
}
}
else break;
}
SetConsoleTextAttribute (hConsole, 12);
cout <
SetConsoleTextAttribute (hConsole, 7);
while (Zabiraem (& v, x))
dobavlenie (u, x);
}
Clear (Stek ** u)
{
if (* u == 0) return;
Stek * p = * u;
Stek * t;
while (p)
{
t = p;
p = p-> next;
delete t;
}
* u = 0;
}
main ()
{
SetConsoleTextAttribute (hConsole, 10);
cout <<" t ***************" <
cout <<" t **********" <
cout <<" t **********" <
cout <<" t *******************" <
cout <<" t *********" <
cout <<" t *********" <
SetConsoleTextAttribute (hConsole, 7);
cout <<" n" <
Stek * u = NULL;
int n;
Avto x;// мінлива x типу avto
do {
SetConsoleTextAttribute (hConsole, 14);
cout <
cout <
cout <
cout <
cout <
cout <
cout <
cin>> n;
SetConsoleTextAttribute (hConsole, 7);
switch (n)
{
case 1: cout <