title: Error: unexpected type required: variable found: value
body: <p>Im trying to make this variable int stringSize to print "ok" or "not ok" depending on the if statement.
  Heres what i have:</p>
  
  <pre><code>     int stringSize = (n_1 + n_2 + n_3);
           if (stringSize &lt; 20){
               String.valueOf(stringSize) = "ok";
  
           }else if (stringSize &gt; 20){
               String.valueOf(stringSize) = "not ok";
  
           }                      
  </code></pre>
  
  <p>Theres more code but its irrelevant to the question, I think. Nevertheless everything is defined except until here.</p>
  
  <p>I know i cant just put it equals to the "ok" so how do i get the stringSize to print either "ok" or "not ok"?</p>
  
  <p>Im a beginner, so lets be nice and i tried looking up other solutions but none were similar to my case 
  TY in advance</p>