Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3. using namespace std;
  4. int main ()
  5. {
  6. int a,b,c;
  7. int z[100];
  8.  
  9. cout<<"Podaj ile chcesz wprowadzic liczb :) ";
  10. cin>>a;
  11. for(b=1;b<=a;b++)
  12. {
  13. cout<<"Podaj liczbe: ";
  14. cin>>z[b];
  15. }
  16. cout<<"Wprowadzone liczby to: ";
  17. for(b=1;b<=a;b++)
  18. {
  19. cout<<" "<<z[b]<<" ";
  20. }
  21. getch ();
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement