Help me in taking n inputs from user in a vector

Please show me the code, how to write for:
Creating a vector and taking the size from the user and also the elements from the user to pushback in the vector.

Please show me the code for this, I am stuck!

@settingsingh How to take variable Vector Inputs from user?
Please check.

Bro, I did not get that, I already initiated the chat but you are not replying there

Is your doubt resolved now?
Please mark it as resolved if so.