#include #include using namespace std; int dane[100]; int rozmiar; void wyswietl_stos() { for (int i=rozmiar; i>=1; i--) { cout<>dane[rozmiar]; } } void pop() { if (rozmiar>=1) { rozmiar=rozmiar-1; } else { cout << "error"; } } void empty() { if (rozmiar==0) cout<> wybor; switch (wybor) { case 'push\0': push(); break; case 'pop\0': pop(); break; } } while (wybor != 'end\0'); return 0; }