c ++ code test if a inn value is in one of the hundred years (Ex: 1900, 1800 , 200) : <p>Does anyone know of a good code I can use for test if a value is one of the hundred years? </p>

<p>Example: 1200 or 2000 or 2100 or 300.</p>

<p>A easy one, so I dont have to write inn every year like this. </p>

<p>The reason is that i want to do something else with this numbers in a if statement. </p>

<p>Thanks for answers.</p>
