white an programm that initilize an array it inputs the values from the 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};