Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int arr[6];
- int i,j,n;
- scanf("%d",&n);
- for(i=1;i<=n;i++)
- {
- scanf("%d",&arr[i]);
- }
- for(i=n;i>0;i--)
- {
- printf("%d",arr[i]);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement