title: A number is defined as a 3den if it is a multiple of 3 or has the digit 3 in it. Given a number as input, determine whether it is a 3den or not
body: <pre><code>public boolean is3den(int num){
      if(num%10==0)
          return true;
      while(num&gt;0){
          if(num%10==3)
              return true;
          else {
              num=num/10;
          }
      }
      return false;
  }
  </code></pre>
  
  <p>My code passes every true condition but didn't passes false, any suggestion?</p>