title: Accepting random number of inputs cpp
body: <p>I want to accept some inputs for a program,the inputs are integer values.
  The condition on accepting the inputs is number of inputs is not fixed
  but maximum number of inputs to be taken is fixed.
  for example lets say the maximum input limit is 15 inputs.
  So I should be able to accept "n" inputs where "n" can have any value from 1 to 15.
  Is there a way to do this in cpp?</p>