Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main(void)
- {
- while(!cin.eof())
- {
- int x;
- cin>>x;
- int tab[x];
- for (int i=x-1;i>=0;i--){
- cout<<tab[i]<<" ";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement