Hello all who read, I think it goes without saying that I am new to C++. The code below is a smaller part of something I am working on but need to fix this before I can move on.
I need to save the multiple user inputs into my array, then when using
cout << myArray[size] << endl; , have it output whatever numbers the user has inputted. So far, I have it to where it just outputs whatever the last input the user gives, not all of them. Any help would be appreciated, and thanks for your time.