how to input an array from a user and then display it using c++ 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};