#include <stdio.h>
#include <stdlib.h>

int main(){
  int valores[10];
  int indice;
  printf("Escreva 10 numeros inteiros: \n");
  for (indice = 0; indice < 10; indice++) {
     printf("valores[%d] ", indice);
     scanf("%d", &valores[indice]);
  }
  printf("Valores em ordem reversa:\n ");
  for (indice = 9; indice >= 0; indice--) {
     printf("%d ", valores[indice]);
  }
  printf("\n");
  system("pause");  
  return 0;
}