take a array and print them c++ from user code example
Example: take input from user in array c++
// declare and initialize an array without defining size
int x[] = {19, 10, 8, 17, 9, 15};
// declare and initialize an array without defining size
int x[] = {19, 10, 8, 17, 9, 15};