0
How to convert this to array without fixed values
Need to change the code with no fixed value.. Ie, it should take n values and print the same values https://code.sololearn.com/csCTJFyRzSOf/?ref=app
1 Answer
+ 1
Use a std::vector. It is a dynamic array.