0

Help, who can help me with this problem

I have to make a C ++ program that fills an array with integers, I have to set the size of the vector, once it is full it should show it on the screen, then you need to pass it to a function where it asks for new values ​​to the user and replace them with the previous ones and at the end it should return the modified vector that I call the function to display in screen. (Esp) debo hacer un programa c++ que llene un arreglo con nĂșmeros enteros, el programador coloca el tamaño del vector, una vez lleno lo debe mostrar en pantalla, luego lo debe pasar a una funciĂłn donde esta pida nuevos valores al usuario y los reemplace por los anteriores y al final debe retornar el vector modificado a quien llamo a la funciĂłn para que se muestre en pantalla.

6th Nov 2021, 7:22 PM
Txkken
Txkken - avatar
1 Answer
+ 2
You mentioned array, and you also mentioned vector. Which of these are you actually using in the code though? I would recommend you to sketch that code, save it as a code bit, and share its link in the thread's Description above in order to have people understand your situation better, and to respond accordingly. https://www.sololearn.com/post/75089/?ref=app
6th Nov 2021, 7:40 PM
Ipang