how to take input elements in an array by the user in 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};