Is it possible to allow the user to enter the size of an array with a keyboard?
I know that arrays can\'t change size. The only solution I could think of is this:
Yes you can. Here it is:
int n; cout << "enter degree "; cin >> n; int *arr = new int[n];