Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct stek {
- };
- void func(stek &m)
- {
- }
- int main()
- {
- stek s;
- int no, element, c;
- s.init();
- cout << "Vnesete koj broj da se proveri:";
- cin >> no;
- while(no != 0){
- element = no % 10;
- no /= 10;
- s.push(element);
- }
- func(s);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement