title: While Not Condition
body: <p>How can I say the following:</p>
  
  <pre><code>while(input is not an int){
  do this
  }
  </code></pre>
  
  <p>I tried this code but I know it's wrong:</p>
  
  <pre><code> int identificationnumber;
   Scanner sc3 = new Scanner(System.in);
  identificationnumber = sc3.nextInt();
  
  while( identificationnumber != int){ // this line is wrong 
  
  Scanner sc4 = new Scanner(System.in);
  identificationnumber = sc4.nextInt();
  
  }
  </code></pre>
  
  <p>Any suggestions please.Thanks.</p>