Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void pisz_wstecz()
  5. {
  6. int liczba;
  7. cin >> liczba;
  8. if (liczba != 0)
  9. {
  10. pisz_wstecz();
  11. }
  12. cout << liczba << endl;
  13. }
  14.  
  15. int main()
  16. {
  17. pisz_wstecz();
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement