how to give user input to the array 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};