Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int tab[10];
- for (int i=1;i<=10;i++)
- {
- cout<<"podaj jakąś liczbe";
- int liczba;
- cin>>liczba;
- tab[i] = liczba;
- };
- for(int i=10;i>=1;i--)
- cout<<tab[i]<<endl;
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement