I have an exercise: do a program that performs an ordered insertion within a vector of integer numbers. The number of elements of the vector is informed by the user (maximum of 30 elements)
Yes it's a homework, and yes, I know it could be easy get the answer. That' not what I want. I want to learn and get better with algorithms in general, I am still uncomfortable with them.
Thanks in advance.