title: C++ | Generating a pseudo number between 10-20
body: <p>I am making a text-based C++ RPG and I am trying to figure out how to work out the amount of damage that the enemy hits you for.  My idea is something like this.</p>
  
  <p>Damage done = randomIntBetween10and20*enemyLevel</p>
  
  <p>This way it doesn't always hit for a set amount each time and allows there to be <em>Critical Strikes</em> (For example, if the hit is above 15 I would class that as a Critical Strike)</p>
  
  <p>I'm new to C++ so I'm not quite sure how I can do this, any help would be greatly appreciated.</p>