write a c++ program that reads an integer
variable n, then creates an integer dynamic array p of size n. then keeps
reading integer numbers into the array p until a negative number is entered. If
the array becomes full before a negative number is entered, then extra n
locations must be added to the array.