#include <stdio.h>
#include <stdlib.h>
main () {
int x, n, y;
printf ("quantos números vai ter o vetor? \n");
scanf("%d",&n);
int vetor1[n], vetor2[n];
for(x=0;x<n+1;x++){
printf ("Digite o %d° valor\n", x+1);
scanf ("%d",&vetor1[x]);
system ("cls");
}
y=0;
for(x=n;x>-1;x--){
vetor2[y]=vetor1[x];
y++;
}
for(x=0;x<n+1;x++){
printf ("%d ", vetor2[x]);
}
system("pause");
return 0;
}