title: Rewrite pseudocode in C and Python
body: <p>Rewrite the following pseudocode segment using a loop structure in the specified languages:</p>
  
  <pre><code>k = (j + 13) / 27
  Loop:
  If k &gt; 10 then goto out
  k = k + 1
  i = 3 * k – 1
  goto loop
  out: ...
  </code></pre>
  
  <p>a. in C</p>
  
  <p>b. in Python</p>
  
  <p>I think in C is like:</p>
  
  <pre><code>for(k=(j+13)/27; k&lt;=10; k++; i=3*k-1)
  </code></pre>
  
  <p>but i'm not sure. Can anyone help me with this?</p>