Advertisement
olaaa

Untitled

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