#include using namespace std; const int MAX = 1000; typedef int info_t; struct magacin{ info_t M[MAX]; int idx; void Init(){ idx = -1; } void stackUnderFlow(){ cout<<"Emptystack"< 9 ? 9 : zbir); } // nema potreba da proveruvame !kopija.isEmpty(), bidejki samo pecatime od rezultantna // treba da imame samo while(!rezultantna.isEmpty()) while(!rezultantna.isEmpty() and !kopija.isEmpty()){ cout<> no; while(no != 0){ element = no%10; no /= 10; s.push(element); } funk(s); return 0; }