title: How to allow & take only two digit numbers as Input, in C?
body: <p>I'm currently doing a project in which I've to take &amp; consider only two digit numbers which an user is entering. I don't want to take an input &amp; then check whether it's LESS THAN 100 or not. </p>
  
  <p>Instead of doing this checking, is there any other way of filter out only 2-digit numbers &amp; accept it as input, while programming in C-language? As, I don't even want to  allow the user to enter 3 digit number. For example, if the user wants to enter 123, he won't be able to do it. Only if he is entering 12 or 23, then only the input is accepted. </p>
  
  <p>Thank you. </p>