title: How to filter a list<int> by comparing against a single int variable?
body: <p>I have a <code>list&lt;int&gt;</code> with values like <code>10</code>, <code>20</code>, <code>30</code>, <code>56</code>. I also have a local variable <code>int _marks = 30</code>.</p>
  
  <p>How can I print out the values in the list that are less than the value of <code>_marks</code>?</p>