#include <iostream>
using namespace std;
int main()
{
    int tam;
    int *p;
    cout << "Digite um tamanho para o array: ";
    cin >> tam;
    p=new int [tam];    
    
    int x=10;
    int q=tam;
    for(int t=tam; t>0; t--)
    {
            
            p[tam-q]=x;
            cout << p[tam-t] << "\n";
            x+=10;
            q--;           
    }
    
    system("pause");
    return 0;
}
