int *arry; // <- this declares a pointer
int size; // <- this declares a variable
arry = newint [ size ]; // <- this allocates an array... but of what size? You never say
You don't get the size from the user until line 12... which is after you have already created the array on line 9.