title: How can I covert an integer to base 3
body: <p>I found a challenge online, and thought its pretty interesting but tried multiple times to understand what base 3 is and how u can get there, but unfortunately no clue how.</p>
  
  <p>Write a method, convertIntegerToBase3() which does the following:</p>
  
  <p>-- Accepts an integer parameter (from 0 to 26) and converts it to base 3, which is stored
  as a string, which is the return value.</p>
  
  <pre><code>public String convertIntgerToBase(int num){
  
      if(numberConv &gt;= 0 &amp;&amp; numberConv &lt;= 26){
          //What do I do here?
       }
      else{
          System.out.println("Error! Number entered wasn't in the range of 0 and 26);
      }
  }
  </code></pre>