Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- using namespace std;
- int main ()
- {
- int a,b,c;
- int z[100];
- cout<<"Podaj ile chcesz wprowadzic liczb :) ";
- cin>>a;
- for(b=1;b<=a;b++)
- {
- cout<<"Podaj liczbe: ";
- cin>>z[b];
- }
- cout<<"Wprowadzone liczby to: ";
- for(b=1;b<=a;b++)
- {
- cout<<" "<<z[b]<<" ";
- }
- getch ();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement